Method: Puppet::Pops::Types::TypeCalculator.callable?

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

.callable?(callable, args) ⇒ Boolean

Answers, does the given callable accept the arguments given in args (an array or a tuple)

Parameters:

Returns:

  • (Boolean)

    true if the callable accepts the arguments



119
120
121
# File 'lib/puppet/pops/types/type_calculator.rb', line 119

def self.callable?(callable, args)
  singleton.callable?(callable, args)
end