mock outer dsl attributes method

This commit is contained in:
Dominik Richter 2015-10-26 16:44:20 +01:00
parent 1613add894
commit ee0e9fc7c1

View file

@ -102,6 +102,11 @@ module Inspec
__register_rule rule, &block
end
# TODO: mock method for attributes; import attribute handling
define_method :attributes do |_name, _options|
nil
end
def skip_rule(id)
__unregister_rule id
end