class Puppet::Pops::Types::PObjectType::PFunction
Describes a named Function in an Object
type @api public
Public Class Methods
feature_type()
click to toggle source
@api private
# File lib/puppet/pops/types/p_object_type.rb 398 def self.feature_type 399 'function' 400 end
new(name, container, init_hash)
click to toggle source
@param name [String] The name of the attribute @param container [PObjectType] The containing object type @param init_hash [Hash{String=>Object}] Hash containing function options @api public
Calls superclass method
Puppet::Pops::Types::PObjectType::PAnnotatedMember::new
# File lib/puppet/pops/types/p_object_type.rb 389 def initialize(name, container, init_hash) 390 super(name, container, TypeAsserter.assert_instance_of(["initializer for function '%s'", name], TYPE_FUNCTION, init_hash)) 391 end
Public Instance Methods
callable_type()
click to toggle source
# File lib/puppet/pops/types/p_object_type.rb 393 def callable_type 394 type 395 end