Module: Nay

Defined in:
lib/nay.rb,
lib/nay/lexer.rb,
lib/nay/state.rb,
lib/nay/token.rb,
lib/nay/version.rb,
lib/nay/template.rb,
lib/nay/evaluator.rb

Overview

Top-level API

Defined Under Namespace

Classes: Evaluator, Lexer, State, Template, Token

Constant Summary collapse

VERSION =
'0.0.3'

Class Method Summary collapse

Class Method Details

.evaluate(object, parameters = {}) ⇒ Object



11
12
13
# File 'lib/nay.rb', line 11

def evaluate(object, parameters = {})
  Template.new(object).evaluate(parameters)
end