Class: Ruckus::Mutator::Str

Inherits:
Mutator show all
Defined in:
lib/ruckus/mutator.rb

Overview

Wrap String with Mutator, make to_s work.

Instance Method Summary collapse

Methods inherited from Mutator

#method_missing, #permute

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