Class: ActiverecordCallbackLens::Parser::ConditionTree::PredicateNode

Inherits:
Data
  • Object
show all
Defined in:
lib/activerecord_callback_lens/parser/condition_tree.rb

Overview

Leaf: a single predicate method call, e.g. “saved_change_to_title?”.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



18
19
20
# File 'lib/activerecord_callback_lens/parser/condition_tree.rb', line 18

def name
  @name
end