module Rley
File: constants.rb Purpose: definition of Rley
constants.
Constants
- Description
-
Brief description of the gem.
- EngineConfig
-
Configuration of an
Rley::Engine
instance. - RootDir
-
The start folder of
Rley
. - Version
-
The version number of the gem.
Public Class Methods
Source
# File lib/rley/interface.rb, line 11 def self.grammar_builder(&aBlock) Rley::RGN::GrammarBuilder.new(&aBlock) end
Factory method. A grammar builder constructs a Rley
grammar piece by piece from DSL instructions in a provided code block. @param aBlock [Proc] a code block @return [Rley::RGN::GrammarBuilder] An object that builds a grammar.