Class: OutwoodLabels::OptionsValidator
- Inherits:
-
Object
- Object
- OutwoodLabels::OptionsValidator
- Includes:
- Callable
- Defined in:
- lib/outwood_labels/options_validator.rb
Instance Method Summary collapse
- #call ⇒ Boolean
-
#initialize(opts) ⇒ OptionsValidator
constructor
A new instance of OptionsValidator.
Methods included from Callable
Constructor Details
#initialize(opts) ⇒ OptionsValidator
Returns a new instance of OptionsValidator.
8 9 10 |
# File 'lib/outwood_labels/options_validator.rb', line 8 def initialize(opts) @options = opts end |
Instance Method Details
#call ⇒ Boolean
14 15 16 17 18 |
# File 'lib/outwood_labels/options_validator.rb', line 14 def call validate_compatibility validate_values true end |