class Puppet::Pops::Migration::MigrationChecker
This class defines the private API of the MigrationChecker support. @api private
Public Class Methods
new()
click to toggle source
# File lib/puppet/pops/migration/migration_checker.rb 7 def initialize() 8 end
singleton()
click to toggle source
# File lib/puppet/pops/migration/migration_checker.rb 10 def self.singleton 11 @null_checker ||= self.new 12 end
Public Instance Methods
available_migrations()
click to toggle source
Produces a hash of available migrations; a map from a symbolic name in string form to a brief description. This version has no such supported migrations.
# File lib/puppet/pops/migration/migration_checker.rb 16 def available_migrations() 17 { } 18 end
report_ambiguous_float(o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 26 def report_ambiguous_float(o) 27 raise Puppet::DevError, _("Unsupported migration method called") 28 end
report_ambiguous_integer(o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 21 def report_ambiguous_integer(o) 22 raise Puppet::DevError, _("Unsupported migration method called") 23 end
report_array_last_in_block(o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 56 def report_array_last_in_block(o) 57 raise Puppet::DevError, _("Unsupported migration method called") 58 end
report_empty_string_true(value, o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 31 def report_empty_string_true(value, o) 32 raise Puppet::DevError, _("Unsupported migration method called") 33 end
report_equality_type_mismatch(left, right, o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 41 def report_equality_type_mismatch(left, right, o) 42 raise Puppet::DevError, _("Unsupported migration method called") 43 end
report_in_expression(o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 51 def report_in_expression(o) 52 raise Puppet::DevError, _("Unsupported migration method called") 53 end
report_option_type_mismatch(test_value, option_value, option_expr, matching_expr)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 46 def report_option_type_mismatch(test_value, option_value, option_expr, matching_expr) 47 raise Puppet::DevError, _("Unsupported migration method called") 48 end
report_uc_bareword_type(value, o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 36 def report_uc_bareword_type(value, o) 37 raise Puppet::DevError, _("Unsupported migration method called") 38 end