Module: Exposant::Model

Extended by:
ActiveSupport::Concern
Defined in:
lib/exposant/model.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#exposant(variant = nil, type = nil) ⇒ Object



6
7
8
# File 'lib/exposant/model.rb', line 6

def exposant(variant = nil, type = nil)
  self.class.exposant_class(variant, type).new(self)
end