diff options
| author | Luke Kanies <luke@puppetlabs.com> | 2011-02-22 13:36:18 -0800 |
|---|---|---|
| committer | Luke Kanies <luke@puppetlabs.com> | 2011-02-22 13:36:18 -0800 |
| commit | 7da0a26f1bd44ecfffe9f622ec9d560870506207 (patch) | |
| tree | bef87a0d9880b3878a50ea8c2be0e80ccd90b438 /lib/puppet | |
| parent | 04fb6de5e2108799e47a081e5331d932fcf53109 (diff) | |
| download | puppet-7da0a26f1bd44ecfffe9f622ec9d560870506207.tar.gz puppet-7da0a26f1bd44ecfffe9f622ec9d560870506207.tar.xz puppet-7da0a26f1bd44ecfffe9f622ec9d560870506207.zip | |
Adding a string form to interfaces
Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Diffstat (limited to 'lib/puppet')
| -rw-r--r-- | lib/puppet/interface.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/interface.rb b/lib/puppet/interface.rb index 901e83af6..70356debc 100644 --- a/lib/puppet/interface.rb +++ b/lib/puppet/interface.rb @@ -103,4 +103,8 @@ class Puppet::Interface instance_eval(&block) end end + + def to_s + name.to_s + end end |
