Class: Kerbi::Console

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valuesObject (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_sObject



12
13
14
# File 'lib/cli/root_handler.rb', line 12

def to_s
  "kerbi"
end