class Analyst::Entities::Pair

Public Instance Methods

key() click to toggle source
# File lib/analyst/entities/pair.rb, line 8
def key
  @key ||= process_node(ast.children[0])
end
value() click to toggle source
# File lib/analyst/entities/pair.rb, line 12
def value
  @value ||= process_node(ast.children[1])
end

Private Instance Methods

contents() click to toggle source
# File lib/analyst/entities/pair.rb, line 18
def contents
  [key, value]
end