Class: ImageMosaic::Data::Validator
- Inherits:
-
Object
- Object
- ImageMosaic::Data::Validator
- Defined in:
- lib/image_mosaic/data/validator.rb
Instance Method Summary collapse
-
#initialize(urls) ⇒ Validator
constructor
A new instance of Validator.
- #items ⇒ Object
Constructor Details
#initialize(urls) ⇒ Validator
Returns a new instance of Validator.
4 5 6 |
# File 'lib/image_mosaic/data/validator.rb', line 4 def initialize(urls) @urls = urls end |
Instance Method Details
#items ⇒ Object
8 9 10 |
# File 'lib/image_mosaic/data/validator.rb', line 8 def items @items ||= validate_items.compact end |