Module: Ecoportal::API::Common::Content::DoubleModel::Modifiers::ReadOnlyAble
- Extended by:
- Includer
- Defined in:
- lib/ecoportal/api/common/content/double_model/modifiers/read_only_able.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Methods included from Includer
Instance Method Details
#read_only? ⇒ Boolean
Note:
read_only allows for some optimizations, such as storing values
in instance variables, for optimization purposes
43 44 45 |
# File 'lib/ecoportal/api/common/content/double_model/modifiers/read_only_able.rb', line 43 def read_only? _read_only || false end |