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 6 def initialize() 7 end
singleton()
click to toggle source
# File lib/puppet/pops/migration/migration_checker.rb 9 def self.singleton 10 @null_checker ||= self.new 11 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 15 def available_migrations() 16 { } 17 end
report_ambiguous_float(o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 25 def report_ambiguous_float(o) 26 raise Puppet::DevError, _("Unsupported migration method called") 27 end
report_ambiguous_integer(o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 20 def report_ambiguous_integer(o) 21 raise Puppet::DevError, _("Unsupported migration method called") 22 end
report_array_last_in_block(o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 55 def report_array_last_in_block(o) 56 raise Puppet::DevError, _("Unsupported migration method called") 57 end
report_empty_string_true(value, o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 30 def report_empty_string_true(value, o) 31 raise Puppet::DevError, _("Unsupported migration method called") 32 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 40 def report_equality_type_mismatch(left, right, o) 41 raise Puppet::DevError, _("Unsupported migration method called") 42 end
report_in_expression(o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 50 def report_in_expression(o) 51 raise Puppet::DevError, _("Unsupported migration method called") 52 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 45 def report_option_type_mismatch(test_value, option_value, option_expr, matching_expr) 46 raise Puppet::DevError, _("Unsupported migration method called") 47 end
report_uc_bareword_type(value, o)
click to toggle source
For 3.8/4.0
# File lib/puppet/pops/migration/migration_checker.rb 35 def report_uc_bareword_type(value, o) 36 raise Puppet::DevError, _("Unsupported migration method called") 37 end