Sha256: 036a261f11edaed65991b26c7e992f1cd57b364416d420113e1f50476900c386
Contents?: true
Size: 192 Bytes
Versions: 1
Compression:
Stored size: 192 Bytes
Contents
Rack::Request.class_eval do def is_mobile? Rack::Schmobile::FILTERS.each do |filter| result = filter.call(self) return result unless result.nil? end false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
schmobile-0.1.0 | lib/rack/schmobile/request_extension.rb |