Class: NilClass

Inherits:
Object
  • Object
show all
Defined in:
lib/backflip.rb

Overview

insane, i know, but we do this to avoid arel chains (at el.) evaluated at load time from throwing NoMethodError exceptions.

Class Method Summary collapse

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args, &block) ⇒ Object



9
10
# File 'lib/backflip.rb', line 9

def method_missing(meth, *args, &block)
end

Class Method Details

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

this helps with things like ‘has_friendly_id’, etc. etc.



7
8
# File 'lib/backflip.rb', line 7

def self.method_missing(meth, *args, &block)
end