diff options
Diffstat (limited to 'lib/puppet/interface.rb')
| -rw-r--r-- | lib/puppet/interface.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/interface.rb b/lib/puppet/interface.rb index 5e9355061..51ae0cdc1 100644 --- a/lib/puppet/interface.rb +++ b/lib/puppet/interface.rb @@ -148,11 +148,11 @@ class Puppet::Interface end end - def __decorate(type, name, proc) + def __add_method(name, proc) meta_def(name, &proc) method(name).unbind end - def self.__decorate(type, name, proc) + def self.__add_method(name, proc) define_method(name, proc) instance_method(name) end |
