Module: C80MapFloors::BuildingRepresentator

Extended by:
ActiveSupport::Concern
Defined in:
app/models/c80_map_floors/building_representator.rb

Overview

Это Здание (которое привязывается к полигону на карте)

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

ERROR: Cannot define multiple ‘included’ blocks for a Concern included do

end



18
19
20
21
# File 'app/models/c80_map_floors/building_representator.rb', line 18

def self.included(klass)
  klass.extend ClassMethods
  klass.send(:include, InstanceMethods)
end