summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorPieter van de Bruggen <pieter@puppetlabs.com>2011-03-21 16:53:49 -0700
committerPieter van de Bruggen <pieter@puppetlabs.com>2011-03-21 16:53:49 -0700
commitc2627a3229577685a5baef1796f7f5b525fed667 (patch)
tree3d477eabf1c81d33f10369158db998a29963de12 /lib/puppet
parent0f4a4300f18da04fc672475645c0d2ba9721d1d5 (diff)
downloadpuppet-c2627a3229577685a5baef1796f7f5b525fed667.tar.gz
puppet-c2627a3229577685a5baef1796f7f5b525fed667.tar.xz
puppet-c2627a3229577685a5baef1796f7f5b525fed667.zip
(Maint.) Remove Puppet::Interface#unload_interface
Reviewed-By: Nick Lewis
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/interface.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/puppet/interface.rb b/lib/puppet/interface.rb
index 13b1a811b..38841d948 100644
--- a/lib/puppet/interface.rb
+++ b/lib/puppet/interface.rb
@@ -53,10 +53,6 @@ class Puppet::Interface
const_set(constantize(name), instance)
end
- def self.unload_interface(name)
- remove_const(constantize(name)) rescue nil
- end
-
def self.constantize(name)
unless name.to_s =~ /^[-_a-z]+$/i then
raise ArgumentError, "#{name.inspect} (#{name.class}) is not a valid interface name"