diff options
author | Luke Kanies <luke@puppetlabs.com> | 2011-02-20 15:39:54 -0800 |
---|---|---|
committer | Luke Kanies <luke@puppetlabs.com> | 2011-02-20 15:39:54 -0800 |
commit | cde1baa4a9a27ba95ad2a61bc8e46d43e708b081 (patch) | |
tree | 737760e127c5c0ccc60181aeaa519acfd89c774d /lib/puppet/interface.rb | |
parent | eff4eec9d53d4fb8270799458455fe4bdc47d1df (diff) | |
download | puppet-cde1baa4a9a27ba95ad2a61bc8e46d43e708b081.tar.gz puppet-cde1baa4a9a27ba95ad2a61bc8e46d43e708b081.tar.xz puppet-cde1baa4a9a27ba95ad2a61bc8e46d43e708b081.zip |
Fixing Interface listing
It got broke when the Indirector base class was extracted.
Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Diffstat (limited to 'lib/puppet/interface.rb')
-rw-r--r-- | lib/puppet/interface.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/puppet/interface.rb b/lib/puppet/interface.rb index 999c38bad..2e52de43d 100644 --- a/lib/puppet/interface.rb +++ b/lib/puppet/interface.rb @@ -3,7 +3,12 @@ require 'puppet' class Puppet::Interface class << self - attr_accessor :default_format + attr_accessor :default_format, :abstract + + # Is this an actual interface, or a base class for others? + def abstract? + abstract + end def set_default_format(format) self.default_format = format.to_sym |