Class: Trollo::List
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Trollo::List
- Defined in:
- lib/trollo/list.rb
Instance Method Summary collapse
Instance Method Details
#named(name) ⇒ Object
7 8 9 |
# File 'lib/trollo/list.rb', line 7 def named(name) where(name: name).first end |