Module: Smith::Workflow::Graph::Reference

Defined in:
lib/smith/workflow/graph/reference.rb

Class Method Summary collapse

Class Method Details

.format(value) ⇒ Object



7
8
9
10
11
# File 'lib/smith/workflow/graph/reference.rb', line 7

def self.format(value)
  return ":#{value}" if value.is_a?(Symbol)

  value.inspect
end