Class: Analyst::Entities::Pair

Inherits:
Entity
  • Object
show all
Defined in:
lib/analyst/entities/pair.rb

Instance Method Summary collapse

Instance Method Details

#keyObject



5
6
7
# File 'lib/analyst/entities/pair.rb', line 5

def key
  process_node(ast.children[0])
end

#valueObject



9
10
11
# File 'lib/analyst/entities/pair.rb', line 9

def value
  process_node(ast.children[1])
end