Method: Puppet::Network::FormatHandler.create

Defined in:
lib/puppet/network/format_handler.rb

.create(*args, &block) ⇒ Object



12
13
14
15
16
17
# File 'lib/puppet/network/format_handler.rb', line 12

def self.create(*args, &block)
  instance = Puppet::Network::Format.new(*args, &block)

  @formats[instance.name] = instance
  instance
end