Method: RGhost::Units::Unit#initialize
- Defined in:
- lib/rghost/units.rb
#initialize(value = 0) ⇒ Unit
Returns a new instance of Unit.
19 20 21 |
# File 'lib/rghost/units.rb', line 19 def initialize(value=0) @value=value end |
Returns a new instance of Unit.
19 20 21 |
# File 'lib/rghost/units.rb', line 19 def initialize(value=0) @value=value end |