Class: SimpleImagesDownloader::Validatable::Validator

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_images_downloader/validatable/validator.rb

Overview

Validator class Responsible for defining interface for validators

Instance Method Summary collapse

Instance Method Details

#validate(_value) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/simple_images_downloader/validatable/validator.rb', line 8

def validate(_value)
  raise NotImplementedError, 'must be implemented in subclass'
end