Class: ChizuEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/futo-spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(h, c_arr) ⇒ ChizuEntry

Returns a new instance of ChizuEntry.



81
82
83
84
# File 'lib/futo-spec.rb', line 81

def initialize(h, c_arr)
  @kkey = h
  @associated_commands = c_arr
end

Instance Attribute Details

#associated_commandsObject

“Chizu” is Japanese for “map”. Chizus map bullet point text to specific ruby commands which will be executed. Analagous to Cucumber’s “step definition” layer.



80
81
82
# File 'lib/futo-spec.rb', line 80

def associated_commands
  @associated_commands
end

#kkeyObject

“Chizu” is Japanese for “map”. Chizus map bullet point text to specific ruby commands which will be executed. Analagous to Cucumber’s “step definition” layer.



80
81
82
# File 'lib/futo-spec.rb', line 80

def kkey
  @kkey
end

Instance Method Details

#to_sObject



85
# File 'lib/futo-spec.rb', line 85

def to_s; return @kkey; end