Module: Solid::Model::ClassMethods

Defined in:
lib/solid/model.rb

Instance Method Summary collapse

Instance Method Details

#[]Object



18
19
20
# File 'lib/solid/model.rb', line 18

def [](...)
  new(...)
end

#inherited(subclass) ⇒ Object



22
23
24
# File 'lib/solid/model.rb', line 22

def inherited(subclass)
  subclass.include(::Solid::Model)
end