module ConditionalMessages

Constants

UndefinedRuleError
UnknownContextKey
VERSION

Public Class Methods

define(*args, &definition) click to toggle source
# File lib/conditional_messages.rb, line 7
def self.define(*args, &definition)
  collection = Collection.new(*args)
  collection.define(&definition)
  collection
end
directory(directory) click to toggle source
# File lib/conditional_messages.rb, line 13
def self.directory(directory)
  Directory.new(directory).load
end