Class: OptParseBuilder::SeparatorArgument

Inherits:
Argument
  • Object
show all
Defined in:
lib/opt_parse_builder/separator_argument.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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_linesObject (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