class Groundskeeper::Middleware::Path

Constants

PARSE_DEFAULT
PARSE_KEY
RACK_PATH_KEY

Private Instance Methods

namespace() click to toggle source
# File lib/groundskeeper/middleware/path.rb, line 8
        def namespace
  parse.call(@env[rack_path_key])
end
parse() click to toggle source
# File lib/groundskeeper/middleware/path.rb, line 12
        def parse
  @options[parse_key] || parse_default
end
parse_default() click to toggle source
# File lib/groundskeeper/middleware/path.rb, line 20
        def parse_default
  self.class.const_get("PARSE_DEFAULT")
end
parse_key() click to toggle source
# File lib/groundskeeper/middleware/path.rb, line 16
        def parse_key
  self.class.const_get("PARSE_KEY")
end
rack_path_key() click to toggle source
# File lib/groundskeeper/middleware/path.rb, line 24
        def rack_path_key
  self.class.const_get("RACK_PATH_KEY")
end