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
7 def [](member_name)
8   raise NotImplementedError, "'#{self.class.name}' should implement #[]"
9 end