Method: String::Mask#method_missing

Defined in:
lib/strmask.rb

#method_missing(s, *a, &b) ⇒ Object

Delegate any missing methods to underlying string.



230
231
232
233
234
235
236
# File 'lib/strmask.rb', line 230

def method_missing(s, *a, &b)
  begin
    to_str.send(s, *a, &b)
  rescue NoMethodError
    super(s, *a, &b)
  end
end