Skip to content

Commit

Permalink
Begin exposing Puppet::Type as public API.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarlisle authored and hlindberg committed Jan 5, 2013
1 parent 67d6b6f commit a576f25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppet/metatype/manager.rb
Expand Up @@ -31,6 +31,7 @@ def loadall
end

# Define a new type.
# @api public
def newtype(name, options = {}, &block)
# Handle backward compatibility
unless options.is_a?(Hash)
Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/type.rb
Expand Up @@ -15,6 +15,8 @@


module Puppet
# The base class for all Puppet types
# @api public
class Type
include Puppet::Util
include Puppet::Util::Errors
Expand Down

0 comments on commit a576f25

Please sign in to comment.