Module: Map::Integrations::ActiveRecord

Defined in:
lib/map/integrations/active_record.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


5
6
7
# File 'lib/map/integrations/active_record.rb', line 5

def self.included( klass )
  klass.extend ClassMethods
end

Instance Method Details

#to_map(*args) ⇒ Object


131
132
133
# File 'lib/map/integrations/active_record.rb', line 131

def to_map( *args )
  self.class.to_map self , *args
end