Methods

Class/Module Index [+]

Quicksearch

Temple::Mixins::GrammarDSL::Value

Public Class Methods

new(grammar, value) click to toggle source
# File lib/temple/mixins/grammar_dsl.rb, line 103
def initialize(grammar, value)
  super(grammar)
  @value = value
end

Public Instance Methods

match(exp, unmatched) click to toggle source
# File lib/temple/mixins/grammar_dsl.rb, line 108
def match(exp, unmatched)
  @value === exp
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.