Class: FutoBullet
- Inherits:
-
Object
- Object
- FutoBullet
- Defined in:
- lib/futo-spec.rb
Instance Attribute Summary collapse
-
#associated_commands ⇒ Object
Returns the value of attribute associated_commands.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(h) ⇒ FutoBullet
constructor
A new instance of FutoBullet.
- #to_s ⇒ Object
Constructor Details
#initialize(h) ⇒ FutoBullet
Returns a new instance of FutoBullet.
54 55 56 57 |
# File 'lib/futo-spec.rb', line 54 def initialize(h) @label = h @associated_commands = Array.new end |
Instance Attribute Details
#associated_commands ⇒ Object
Returns the value of attribute associated_commands.
53 54 55 |
# File 'lib/futo-spec.rb', line 53 def associated_commands @associated_commands end |
#label ⇒ Object
Returns the value of attribute label.
53 54 55 |
# File 'lib/futo-spec.rb', line 53 def label @label end |
Instance Method Details
#to_s ⇒ Object
58 |
# File 'lib/futo-spec.rb', line 58 def to_s; return @label; end |