Method: Puppet::Pops::Types::PAnyType#callable_with?

Defined in:
lib/puppet/pops/types/types.rb

#callable_with?(args, block = nil) ⇒ Boolean

Returns ‘true` if this instance is a callable that accepts the given args

Parameters:

  • args (Array)

    the arguments to test

  • block (Proc) (defaults to: nil)

    block, or nil if not called with a block

Returns:

  • (Boolean)

    ‘true` if this instance is a callable that accepts the given args



164
165
166
# File 'lib/puppet/pops/types/types.rb', line 164

def callable_with?(args,  block = nil)
  false
end