Class: OptParseBuilder::FooterArgument

Inherits:
Argument
  • Object
show all
Defined in:
lib/opt_parse_builder/footer_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, #separator_lines, #shift_operand, #to_a, #value, #value=

Constructor Details

#initialize(footer_lines) ⇒ FooterArgument

Returns a new instance of FooterArgument.



6
7
8
# File 'lib/opt_parse_builder/footer_argument.rb', line 6

def initialize(footer_lines)
  @footer_lines = footer_lines
end

Instance Attribute Details

Returns the value of attribute footer_lines.



4
5
6
# File 'lib/opt_parse_builder/footer_argument.rb', line 4

def footer_lines
  @footer_lines
end