module Escher::RackMiddleware::ExcludePath
Public Class Methods
extended(klass)
click to toggle source
# File lib/escher/rack_middleware/exclude_path.rb, line 4 def self.extended(klass) klass.__send__(:include,self::Helper) end
Public Instance Methods
add_exclude_paths(*paths)
click to toggle source
# File lib/escher/rack_middleware/exclude_path.rb, line 8 def add_exclude_paths(*paths) excluded_paths.push(*paths) end
Also aliased as: add_exclude_path
excluded_paths()
click to toggle source
# File lib/escher/rack_middleware/exclude_path.rb, line 14 def excluded_paths @excluded_paths ||= [] end