Class: Configure::Checker
- Inherits:
-
Object
- Object
- Configure::Checker
- Defined in:
- lib/configure/checker.rb
Overview
Checks the value against nil.
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
-
#schema ⇒ Object
Returns the value of attribute schema.
Instance Method Summary collapse
- #check! ⇒ Object
-
#initialize(schema, configuration) ⇒ Checker
constructor
A new instance of Checker.
Constructor Details
#initialize(schema, configuration) ⇒ Checker
Returns a new instance of Checker.
8 9 10 |
# File 'lib/configure/checker.rb', line 8 def initialize(schema, configuration) @schema, @configuration = schema, configuration end |
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration.
6 7 8 |
# File 'lib/configure/checker.rb', line 6 def configuration @configuration end |
#schema ⇒ Object
Returns the value of attribute schema.
5 6 7 |
# File 'lib/configure/checker.rb', line 5 def schema @schema end |
Instance Method Details
#check! ⇒ Object
12 13 14 |
# File 'lib/configure/checker.rb', line 12 def check! check_not_nils! end |