Class: ActiverecordCallbackLens::Graph::CallbackNode

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

Overview

One node per CallbackDefinition, e.g. before_save / after_commit. definition: Collector::CallbackDefinition

Instance Attribute Summary collapse

Instance Attribute Details

#definitionObject (readonly)

Returns the value of attribute definition

Returns:

  • (Object)

    the current value of definition



18
19
20
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 18

def definition
  @definition
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



18
19
20
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 18

def id
  @id
end