module MidasTouch

Constants

VERSION

Public Class Methods

find_filter(name) click to toggle source
# File lib/midas-touch.rb, line 18
def find_filter(name)
  @@filters.fetch(name.to_sym)
end
find_validation(name) click to toggle source
# File lib/midas-touch.rb, line 26
def find_validation(name)
  @@validations.fetch(name.to_sym)
end
register_filter(filter) click to toggle source
# File lib/midas-touch.rb, line 14
def register_filter(filter)
  @@filters[filter.name] = filter
end
register_validation(validation) click to toggle source
# File lib/midas-touch.rb, line 22
def register_validation(validation)
  @@validations[validation.name] = validation
end