Class: Ronin::CLI::StringProcessorCommand::FileValue Private
- Inherits:
-
Object
- Object
- Ronin::CLI::StringProcessorCommand::FileValue
- 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 file to process.
Instance Attribute Summary collapse
-
#file ⇒ String
readonly
private
The file's path.
Instance Method Summary collapse
-
#initialize(file) ⇒ FileValue
constructor
private
Initializes the file value.
Constructor Details
#initialize(file) ⇒ FileValue
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 file value.
67 68 69 |
# File 'lib/ronin/cli/string_processor_command.rb', line 67 def initialize(file) @file = file end |
Instance Attribute Details
#file ⇒ 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 file's path.
59 60 61 |
# File 'lib/ronin/cli/string_processor_command.rb', line 59 def file @file end |