Method: Puppet::Pops::Types::PCallableType#block_type

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

#block_typePAnyType|nil (readonly)

Although being an abstract type reference, only Callable, or all Callables wrapped in Optional or Variant are supported If not set, the meaning is that block is not supported.

Returns:

  • the block type

API:

  • public



2283
2284
2285
# File 'lib/puppet/pops/types/types.rb', line 2283

def block_type
  @block_type
end