Module: Sequel::Plugins::PgLocation::ClassMethods

Defined in:
lib/sequel/plugins/pg_location.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#location_cache_fieldObject (readonly)

Returns the value of attribute location_cache_field.



12
13
14
# File 'lib/sequel/plugins/pg_location.rb', line 12

def location_cache_field
  @location_cache_field
end

Instance Method Details

#inherited(subclass) ⇒ Object



14
15
16
17
# File 'lib/sequel/plugins/pg_location.rb', line 14

def inherited(subclass)
	super
	subclass.instance_variable_set(:@location_cache_field, instance_variable_get(:@location_cache_field))
end