Class: Kerbi::Console
- Inherits:
-
Object
- Object
- Kerbi::Console
- Defined in:
- lib/cli/root_handler.rb
Instance Attribute Summary collapse
-
#default_values ⇒ Object
readonly
Returns the value of attribute default_values.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(values, default_values) ⇒ Console
constructor
A new instance of Console.
- #to_s ⇒ Object
Constructor Details
#initialize(values, default_values) ⇒ Console
Returns a new instance of Console.
7 8 9 10 |
# File 'lib/cli/root_handler.rb', line 7 def initialize(values, default_values) @values = values @default_values = default_values end |
Instance Attribute Details
#default_values ⇒ Object (readonly)
Returns the value of attribute default_values.
5 6 7 |
# File 'lib/cli/root_handler.rb', line 5 def default_values @default_values end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
4 5 6 |
# File 'lib/cli/root_handler.rb', line 4 def values @values end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/cli/root_handler.rb', line 12 def to_s "kerbi" end |