Class: TerminalParam

Inherits:
Object
  • Object
show all
Defined in:
lib/terrun.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, help) ⇒ TerminalParam

Returns a new instance of TerminalParam.



31
32
33
34
# File 'lib/terrun.rb', line 31

def initialize(name, help)
  @name = name
  @help = help
end

Instance Attribute Details

#helpObject

Returns the value of attribute help.



29
30
31
# File 'lib/terrun.rb', line 29

def help
  @help
end

#nameObject

Returns the value of attribute name.



29
30
31
# File 'lib/terrun.rb', line 29

def name
  @name
end

#valueObject

Returns the value of attribute value.



29
30
31
# File 'lib/terrun.rb', line 29

def value
  @value
end