module EcomDev::ChefSpec::Resource::Matcher::Helper

Public Class Methods

add(method, &block) click to toggle source
# File lib/ecomdev/chefspec/resource/matcher/helper.rb, line 10
def self.add(method, &block)
  define_method(method, &block)
end
reset() click to toggle source
# File lib/ecomdev/chefspec/resource/matcher/helper.rb, line 6
def self.reset
  instance_methods.each { |method| remove_method(method) }
end