Class: VitalsImage::Optimizer::Invariable
- Inherits:
-
VitalsImage::Optimizer
- Object
- VitalsImage::Optimizer
- VitalsImage::Optimizer::Invariable
- Defined in:
- lib/vitals_image/optimizer/invariable.rb
Class Method Summary collapse
Methods inherited from VitalsImage::Optimizer
#html_options, #initialize, #lazy_load?, #native_lazy_load?, #non_native_lazy_load?, #src
Constructor Details
This class inherits a constructor from VitalsImage::Optimizer
Class Method Details
.accept?(source) ⇒ Boolean
5 6 7 |
# File 'lib/vitals_image/optimizer/invariable.rb', line 5 def self.accept?(source) source.respond_to?(:variable?) && !source.variable? end |