Top Level Namespace

Defined Under Namespace

Modules: Brainz Classes: Array

Class Method Summary collapse

Class Method Details

.method_missing(meth = nil, *args, &block) ⇒ Object



141
142
143
144
145
146
147
# File 'lib/brainz/brainz.rb', line 141

def self.method_missing(meth = nil, *args, &block)
  if meth == :that
    Brainz::Brainz.current.send(meth, *args)
  else
    raise NoMethodError
  end
end