Class: OptParseBuilder::SeparatorArgument
- Defined in:
- lib/opt_parse_builder/separator_argument.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#separator_lines ⇒ Object
readonly
Returns the value of attribute separator_lines.
Instance Method Summary collapse
-
#initialize(separator_lines) ⇒ SeparatorArgument
constructor
A new instance of SeparatorArgument.
Methods inherited from Argument
#apply_option, #banner_lines, #key, #operand_notation, #optional, #required, #reset, #shift_operand, #to_a, #value, #value=
Constructor Details
#initialize(separator_lines) ⇒ SeparatorArgument
Returns a new instance of SeparatorArgument.
6 7 8 |
# File 'lib/opt_parse_builder/separator_argument.rb', line 6 def initialize(separator_lines) @separator_lines = separator_lines end |
Instance Attribute Details
#separator_lines ⇒ Object (readonly)
Returns the value of attribute separator_lines.
4 5 6 |
# File 'lib/opt_parse_builder/separator_argument.rb', line 4 def separator_lines @separator_lines end |