Class: ActiverecordCallbackLens::Graph::PredicateNode

Inherits:
Data
  • Object
show all
Defined in:
lib/activerecord_callback_lens/graph/nodes.rb

Overview

One node per predicate method call (e.g. saved_change_to_title?). predicate_name: String

Instance Attribute Summary collapse

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



29
30
31
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 29

def id
  @id
end

#predicate_nameObject (readonly)

Returns the value of attribute predicate_name

Returns:

  • (Object)

    the current value of predicate_name



29
30
31
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 29

def predicate_name
  @predicate_name
end