Class: Ruckus::Mutator::Number
Overview
Wrap Number with Mutator, make to_i work.
Instance Method Summary collapse
-
#initialize(base = 0, stack = []) ⇒ Number
constructor
A new instance of Number.
- #to_i ⇒ Object
Methods inherited from Mutator
Constructor Details
#initialize(base = 0, stack = []) ⇒ Number
Returns a new instance of Number.
288 |
# File 'lib/ruckus/mutator.rb', line 288 def initialize(base=0, stack=[]); super; end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ruckus::Mutator::Mutator
Instance Method Details
#to_i ⇒ Object
289 |
# File 'lib/ruckus/mutator.rb', line 289 def to_i; @cur.to_i; end |