Method: Psych::Nodes::Alias#initialize

Defined in:
lib/psych/nodes/alias.rb

#initialize(anchor) ⇒ Alias

Create a new Alias that points to an anchor



13
14
15
# File 'lib/psych/nodes/alias.rb', line 13

def initialize anchor
  @anchor = anchor
end