Class: Nydp::Evaluator::CompiledExpression

Inherits:
Object
  • Object
show all
Defined in:
lib/nydp/runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ns) ⇒ CompiledExpression

Returns a new instance of CompiledExpression.



107
108
109
# File 'lib/nydp/runner.rb', line 107

def initialize ns
  @ns = ns
end

Instance Attribute Details

#nsObject

Returns the value of attribute ns.



106
107
108
# File 'lib/nydp/runner.rb', line 106

def ns
  @ns
end

Instance Method Details

#list(*things) ⇒ Object



111
112
113
# File 'lib/nydp/runner.rb', line 111

def list *things
  Nydp::Pair.from_list things
end