Module: Solid::Model::ClassMethods

Defined in:
lib/solid/model.rb

Instance Method Summary collapse

Instance Method Details

#[]Object



9
10
11
# File 'lib/solid/model.rb', line 9

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

#inherited(subclass) ⇒ Object



13
14
15
# File 'lib/solid/model.rb', line 13

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