Class: SmartCore::Schema::Checker::Rules::Options Private
- Inherits:
-
Object
- Object
- SmartCore::Schema::Checker::Rules::Options
- Defined in:
- lib/smart_core/schema/checker/rules/options.rb,
lib/smart_core/schema/checker/rules/options/type.rb,
lib/smart_core/schema/checker/rules/options/filled.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.
Defined Under Namespace
Instance Method Summary collapse
- #filled ⇒ SmartCore::Schema::Checker::Rules::Options::Filled, SmartCore::Schema::Checker::Rules::Options::Empty private
- #filled=(option) ⇒ void private
- #initialize(rule) ⇒ void constructor private
- #type ⇒ SmartCore::Schema::Checker::Rules::Options::Type, SmartCore::Schema::Checker::Rules::Options::Empty private
- #type=(option) ⇒ void private
Constructor Details
#initialize(rule) ⇒ 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.
16 17 18 19 |
# File 'lib/smart_core/schema/checker/rules/options.rb', line 16 def initialize(rule) @type = Empty.new(rule) @filled = Empty.new(rule) end |
Instance Method Details
#filled ⇒ SmartCore::Schema::Checker::Rules::Options::Filled, SmartCore::Schema::Checker::Rules::Options::Empty
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.
47 48 49 |
# File 'lib/smart_core/schema/checker/rules/options.rb', line 47 def filled @filled end |
#filled=(option) ⇒ 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.
This method returns an undefined value.
57 58 59 |
# File 'lib/smart_core/schema/checker/rules/options.rb', line 57 def filled=(option) @filled = option end |
#type ⇒ SmartCore::Schema::Checker::Rules::Options::Type, SmartCore::Schema::Checker::Rules::Options::Empty
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.
27 28 29 |
# File 'lib/smart_core/schema/checker/rules/options.rb', line 27 def type @type end |
#type=(option) ⇒ 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.
This method returns an undefined value.
37 38 39 |
# File 'lib/smart_core/schema/checker/rules/options.rb', line 37 def type=(option) @type = option end |