Module: Sawtooth

Defined in:
lib/sawtooth.rb,
lib/sawtooth/parser.rb,
lib/sawtooth/builder.rb,
lib/sawtooth/version.rb,
lib/sawtooth/document.rb,
lib/sawtooth/rules/set.rb,
lib/sawtooth/rules/base.rb,
lib/sawtooth/rules/call_rule.rb,
lib/sawtooth/rules/text_rule.rb,
lib/sawtooth/rules/delegate_rule.rb

Defined Under Namespace

Modules: Rules Classes: Builder, Document, Parser

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.rules(&block) ⇒ Object

Yield a builder instance and start working on pushing rules around like crazy.



9
10
11
# File 'lib/sawtooth/builder.rb', line 9

def self.rules(&block)
  Sawtooth::Builder.new(&block)
end