Class: AdhearsionASR::AskGrammarBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/adhearsion-asr/ask_grammar_builder.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ AskGrammarBuilder

Returns a new instance of AskGrammarBuilder.



3
4
5
# File 'lib/adhearsion-asr/ask_grammar_builder.rb', line 3

def initialize(options)
  @options = options
end

Instance Method Details

#grammarsObject



7
8
9
# File 'lib/adhearsion-asr/ask_grammar_builder.rb', line 7

def grammars
  @grammars ||= build_grammars
end