Class: Arel::Nodes::Node
- Inherits:
-
Object
- Object
- Arel::Nodes::Node
- Defined in:
- lib/calculated_attributes/rails_patches.rb
Instance Method Summary collapse
Instance Method Details
#calculated_attr! ⇒ Object
15 16 17 |
# File 'lib/calculated_attributes/rails_patches.rb', line 15 def calculated_attr! @is_calculated_attr = true end |
#calculated_attr? ⇒ Boolean
19 20 21 |
# File 'lib/calculated_attributes/rails_patches.rb', line 19 def calculated_attr? @is_calculated_attr end |