Sha256: 7a0ad199b7c4b777ab13f77577bb330427b93efdd446cc32e55fd57d0df83713
Contents?: true
Size: 458 Bytes
Versions: 4
Compression:
Stored size: 458 Bytes
Contents
## # Class for Midori route # @attr [String] method HTTP method # @attr [Regexp] path regex to match # @attr [Proc] function what to do after matched class Midori::Route attr_accessor :method, :path, :function # @param [String] method HTTP method # @param [Regexp] path regex to match # @param [Proc] function what to do after matched def initialize(method, path, function) @method = method @path = path @function = function end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
em-midori-0.1.0 | lib/em-midori/route.rb |
em-midori-0.0.9.5 | lib/em-midori/route.rb |
em-midori-0.0.9.4 | lib/em-midori/route.rb |
em-midori-0.0.9.3 | lib/em-midori/route.rb |