Class: Puppet::Pops::Migration::MigrationChecker Private
- 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.
Instance Method Summary collapse
-
#available_migrations ⇒ Object
private
Produces a hash of available migrations; a map from a symbolic name in string form to a brief description.
-
#initialize ⇒ MigrationChecker
constructor
private
A new instance of MigrationChecker.
-
#report_ambiguous_float(o) ⇒ Object
private
For 3.8/4.0.
-
#report_ambiguous_integer(o) ⇒ Object
private
For 3.8/4.0.
-
#report_array_last_in_block(o) ⇒ Object
private
For 3.8/4.0.
-
#report_empty_string_true(value, o) ⇒ Object
private
For 3.8/4.0.
-
#report_equality_type_mismatch(left, right, o) ⇒ Object
private
For 3.8/4.0.
-
#report_in_expression(o) ⇒ Object
private
For 3.8/4.0.
-
#report_option_type_mismatch(test_value, option_value, option_expr, matching_expr) ⇒ Object
private
For 3.8/4.0.
-
#report_uc_bareword_type(value, o) ⇒ Object
private
For 3.8/4.0.
Constructor Details
#initialize ⇒ MigrationChecker
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 |
Instance Method Details
#available_migrations ⇒ 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.
Produces a hash of available migrations; a map from a symbolic name in string form to a brief description.
10 11 12 |
# File 'lib/puppet/pops/migration/migration_checker.rb', line 10 def available_migrations() { '3.8/4.0' => '3.8 future parser to 4.0 language 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
19 20 |
# File 'lib/puppet/pops/migration/migration_checker.rb', line 19 def report_ambiguous_float(o) 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
15 16 |
# File 'lib/puppet/pops/migration/migration_checker.rb', line 15 def report_ambiguous_integer(o) 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
43 44 |
# File 'lib/puppet/pops/migration/migration_checker.rb', line 43 def report_array_last_in_block(o) 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
23 24 |
# File 'lib/puppet/pops/migration/migration_checker.rb', line 23 def report_empty_string_true(value, o) 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
31 32 |
# File 'lib/puppet/pops/migration/migration_checker.rb', line 31 def report_equality_type_mismatch(left, right, o) 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
39 40 |
# File 'lib/puppet/pops/migration/migration_checker.rb', line 39 def report_in_expression(o) 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
35 36 |
# File 'lib/puppet/pops/migration/migration_checker.rb', line 35 def report_option_type_mismatch(test_value, option_value, option_expr, matching_expr) 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
27 28 |
# File 'lib/puppet/pops/migration/migration_checker.rb', line 27 def (value, o) end |