Class: Ruckus::Mutator::Str
Overview
Wrap String with Mutator, make to_s work.
Instance Method Summary collapse
-
#initialize(base = "", stack = []) ⇒ Str
constructor
A new instance of Str.
- #to_s(off = nil) ⇒ Object
Methods inherited from Mutator
Constructor Details
#initialize(base = "", stack = []) ⇒ Str
Returns a new instance of Str.
295 |
# File 'lib/ruckus/mutator.rb', line 295 def initialize(base="", 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_s(off = nil) ⇒ Object
296 |
# File 'lib/ruckus/mutator.rb', line 296 def to_s(off=nil); @cur.to_s; end |