Class: CowProxy::String
Overview
Wrapper class for String
Instance Method Summary collapse
-
#to_s ⇒ Object
returns the wrapped object.
-
#to_str ⇒ Object
returns the wrapped object.
Instance Method Details
#to_s ⇒ Object
returns the wrapped object.
needed to used wrapped string inside interpolation
9 10 11 |
# File 'lib/cow_proxy/string.rb', line 9 def to_s __getobj__ end |
#to_str ⇒ Object
returns the wrapped object.
needed to used wrapped string as parameter for send
18 19 20 |
# File 'lib/cow_proxy/string.rb', line 18 def to_str __getobj__ end |