Class: Serpent::Node::Metadata

Inherits:
Object
  • Object
show all
Defined in:
lib/serpent/node.rb

Instance Method Summary collapse

Constructor Details

#initialize(ary) ⇒ Metadata

Returns a new instance of Metadata.



7
8
9
10
11
# File 'lib/serpent/node.rb', line 7

def initialize(ary)
  @file = ary[0]
  @ln = ary[1]
  @ch = ary[2]
end

Instance Method Details

#outObject



13
14
15
# File 'lib/serpent/node.rb', line 13

def out
  [@file, @ln, @ch]
end