Class: LinkThumbnailer::ImageComparators::Base
- Inherits:
-
Object
- Object
- LinkThumbnailer::ImageComparators::Base
- Defined in:
- lib/link_thumbnailer/image_comparators/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#image ⇒ Object
readonly
Returns the value of attribute image.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(image) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(image) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/link_thumbnailer/image_comparators/base.rb', line 7 def initialize(image) @image = image end |
Instance Attribute Details
#image ⇒ Object (readonly)
Returns the value of attribute image.
5 6 7 |
# File 'lib/link_thumbnailer/image_comparators/base.rb', line 5 def image @image end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'lib/link_thumbnailer/image_comparators/base.rb', line 11 def call fail NotImplementedError end |