Class: Puppet::Pops::Migration::MigrationChecker Private

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/pops/migration/migration_checker.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

This class defines the private API of the MigrationChecker support.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMigrationChecker

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of MigrationChecker.



6
7
# File 'lib/puppet/pops/migration/migration_checker.rb', line 6

def initialize()
end

Class Method Details

.singletonObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



9
10
11
# File 'lib/puppet/pops/migration/migration_checker.rb', line 9

def self.singleton
  @null_checker ||= self.new
end

Instance Method Details

#available_migrationsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

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.



15
16
17
# File 'lib/puppet/pops/migration/migration_checker.rb', line 15

def available_migrations()
  { }
end

#report_ambiguous_float(o) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

For 3.8/4.0

Raises:



25
26
27
# File 'lib/puppet/pops/migration/migration_checker.rb', line 25

def report_ambiguous_float(o)
  raise Puppet::DevError, "Unsupported migration method called"
end

#report_ambiguous_integer(o) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

For 3.8/4.0

Raises:



20
21
22
# File 'lib/puppet/pops/migration/migration_checker.rb', line 20

def report_ambiguous_integer(o)
  raise Puppet::DevError, "Unsupported migration method called"
end

#report_array_last_in_block(o) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

For 3.8/4.0

Raises:



55
56
57
# File 'lib/puppet/pops/migration/migration_checker.rb', line 55

def report_array_last_in_block(o)
  raise Puppet::DevError, "Unsupported migration method called"
end

#report_empty_string_true(value, o) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

For 3.8/4.0

Raises:



30
31
32
# File 'lib/puppet/pops/migration/migration_checker.rb', line 30

def report_empty_string_true(value, o)
  raise Puppet::DevError, "Unsupported migration method called"
end

#report_equality_type_mismatch(left, right, o) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

For 3.8/4.0

Raises:



40
41
42
# File 'lib/puppet/pops/migration/migration_checker.rb', line 40

def report_equality_type_mismatch(left, right, o)
  raise Puppet::DevError, "Unsupported migration method called"
end

#report_in_expression(o) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

For 3.8/4.0

Raises:



50
51
52
# File 'lib/puppet/pops/migration/migration_checker.rb', line 50

def report_in_expression(o)
  raise Puppet::DevError, "Unsupported migration method called"
end

#report_option_type_mismatch(test_value, option_value, option_expr, matching_expr) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

For 3.8/4.0

Raises:



45
46
47
# File 'lib/puppet/pops/migration/migration_checker.rb', line 45

def report_option_type_mismatch(test_value, option_value, option_expr, matching_expr)
  raise Puppet::DevError, "Unsupported migration method called"
end

#report_uc_bareword_type(value, o) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

For 3.8/4.0

Raises:



35
36
37
# File 'lib/puppet/pops/migration/migration_checker.rb', line 35

def report_uc_bareword_type(value, o)
  raise Puppet::DevError, "Unsupported migration method called"
end