Class: Ronin::CLI::StringProcessorCommand::StringValue Private
- Inherits:
-
Object
- Object
- Ronin::CLI::StringProcessorCommand::StringValue
- Defined in:
- lib/ronin/cli/string_processor_command.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A value object that represents a literal String input value.
Instance Attribute Summary collapse
-
#string ⇒ String
readonly
private
The literal string value.
Instance Method Summary collapse
-
#initialize(string) ⇒ StringValue
constructor
private
Initializes the string value.
Constructor Details
#initialize(string) ⇒ StringValue
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initializes the string value.
45 46 47 |
# File 'lib/ronin/cli/string_processor_command.rb', line 45 def initialize(string) @string = string end |
Instance Attribute Details
#string ⇒ String (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The literal string value.
37 38 39 |
# File 'lib/ronin/cli/string_processor_command.rb', line 37 def string @string end |