Class: FutoBullet

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_commandsObject

Returns the value of attribute associated_commands.



53
54
55
# File 'lib/futo-spec.rb', line 53

def associated_commands
  @associated_commands
end

#labelObject

Returns the value of attribute label.



53
54
55
# File 'lib/futo-spec.rb', line 53

def label
  @label
end

Instance Method Details

#to_sObject



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

def to_s; return @label; end