Provides an ActiveRecord-like interface to a model whose data is not persisted to a database.
Namespace
- MODULE StaticModel::ClassMethods
Methods
- #
- D
- N
- P
- T
Instance Public methods
==(other)
Link
Source: show
# File app/roles/static_model.rb, line 40 def ==(other) if other.is_a? StaticModel id == other.id else super end end