Class: SmartCore::Schema::Checker::Reconciler::Matcher::Options Private
- Inherits:
-
Object
- Object
- SmartCore::Schema::Checker::Reconciler::Matcher::Options
- Defined in:
- lib/smart_core/schema/checker/reconciler/matcher/options.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.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(is_strict_schema) ⇒ void constructor private
- #strict_schema? ⇒ Boolean private
Constructor Details
#initialize(is_strict_schema) ⇒ void
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.
22 23 24 |
# File 'lib/smart_core/schema/checker/reconciler/matcher/options.rb', line 22 def initialize(is_strict_schema) @is_strict_schema = is_strict_schema end |
Class Method Details
.build_from(reconciler) ⇒ SmartCore::Schema::Checker::Reconciler::Matcher::Options
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.
12 13 14 |
# File 'lib/smart_core/schema/checker/reconciler/matcher/options.rb', line 12 def build_from(reconciler) new(reconciler.__strict?) end |
Instance Method Details
#strict_schema? ⇒ Boolean
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.
30 31 32 |
# File 'lib/smart_core/schema/checker/reconciler/matcher/options.rb', line 30 def strict_schema? @is_strict_schema end |