Class: Configure::Checker

Inherits:
Object
  • Object
show all
Defined in:
lib/configure/checker.rb

Overview

Checks the value against nil.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#configurationObject

Returns the value of attribute configuration.



6
7
8
# File 'lib/configure/checker.rb', line 6

def configuration
  @configuration
end

#schemaObject

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