module RuleTable
Constants
- VERSION
Public Class Methods
matcher(name, &block)
click to toggle source
# File lib/rule_table.rb, line 5 def self.matcher(name, &block) matchers[name] = block end
matchers()
click to toggle source
# File lib/rule_table.rb, line 9 def self.matchers @matchers ||= {} end
new(&block)
click to toggle source
# File lib/rule_table.rb, line 13 def self.new(&block) Table.new.tap { |table| TableDefiner.new(table, &block) } end