Method: Puppet::Pops::Types::TypeFormatter#ruby

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

#ruby(ref_ctor) ⇒ Object



43
44
45
46
47
48
# File 'lib/puppet/pops/types/type_formatter.rb', line 43

def ruby(ref_ctor)
  tf = clone
  tf.instance_variable_set(:@ruby, true)
  tf.instance_variable_set(:@ref_ctor, ref_ctor)
  tf
end