Method: CodeNode::IR::Node::TemplateMethods#key

Defined in:
lib/code_node/ir/node/template_methods.rb

#keyString

Returns fully qualified identifier for the node in the form Foo_Bar_Car. Ideal for graphviz identifiers.

Returns:

  • (String)

    fully qualified identifier for the node in the form Foo_Bar_Car. Ideal for graphviz identifiers.



51
52
53
# File 'lib/code_node/ir/node/template_methods.rb', line 51

def key
  @path.join '_'
end