class Gemologist::RuntimeValue
Attributes
node[R]
Public Class Methods
new(node)
click to toggle source
# File lib/gemologist/runtime_value.rb, line 7 def initialize(node) @node = node end
Public Instance Methods
inspect()
click to toggle source
# File lib/gemologist/runtime_value.rb, line 15 def inspect "<#{self.class.name} #{source.inspect}>" end
source()
click to toggle source
# File lib/gemologist/runtime_value.rb, line 11 def source @source ||= node.loc.expression.source end