Class: ActiverecordCallbackLens::Graph::MethodNode

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

Overview

One node per Symbol condition (e.g. :sync_required?). method_name: String

Instance Attribute Summary collapse

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



25
26
27
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 25

def id
  @id
end

#method_nameObject (readonly)

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



25
26
27
# File 'lib/activerecord_callback_lens/graph/nodes.rb', line 25

def method_name
  @method_name
end