Method: Glyph::SyntaxNode#evaluate

Defined in:
lib/glyph/syntax_node.rb

#evaluate(context, options = {}) ⇒ String

Returns the value of the :value key.

Returns:

  • (String)

    the value of the :value key

Since:

  • 0.3.0

[View source]

30
31
32
# File 'lib/glyph/syntax_node.rb', line 30

def evaluate(context, options={})
	self[:value]
end