Class: ChizuEntry
- Inherits:
-
Object
- Object
- ChizuEntry
- Defined in:
- lib/futo-spec.rb
Instance Attribute Summary collapse
-
#associated_commands ⇒ Object
“Chizu” is Japanese for “map”.
-
#kkey ⇒ Object
“Chizu” is Japanese for “map”.
Instance Method Summary collapse
-
#initialize(h, c_arr) ⇒ ChizuEntry
constructor
A new instance of ChizuEntry.
- #to_s ⇒ Object
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_commands ⇒ Object
“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 |
#kkey ⇒ Object
“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_s ⇒ Object
85 |
# File 'lib/futo-spec.rb', line 85 def to_s; return @kkey; end |