Module: Roda::RodaPlugins::Streamlined::CheckForStreamlined

Defined in:
lib/roda/plugins/streamlined.rb

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object



7
8
9
# File 'lib/roda/plugins/streamlined.rb', line 7

def self.===(other)
  other.is_a?(Proc) && other.respond_to?(:touched) && other.touched
end