module Puppet::Pops::Types::TypeWithMembers

Interface implemented by a type that has InvocableMembers

Public Instance Methods

[](member_name) click to toggle source

@return [InvocableMember,nil] An invocable member if it exists, or `nil`

   # File lib/puppet/pops/types/type_with_members.rb
 8 def [](member_name)
 9   raise NotImplementedError, "'#{self.class.name}' should implement #[]"
10 end