Class: EyString

Inherits:
String show all
Defined in:
lib/rake/sprockets/ey_string.rb

Instance Method Summary collapse

Methods inherited from String

#ey?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &blk) ⇒ Object



2
3
4
5
6
7
8
9
# File 'lib/rake/sprockets/ey_string.rb', line 2

def method_missing(name, *args, &blk)
  sname = name.to_s
  if sname =~ /\?$/
    self == sname
  else
    super
  end
end