Sha256: 7c00f42d9b97f329fceee2b347efbff15c65bee490b7b9985c0ed68f9d7495f5

Contents?: true

Size: 534 Bytes

Versions: 3

Compression:

Stored size: 534 Bytes

Contents

#          Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

module Ramaze
  module Contrib
    class Route
      class << self
        def startup
          warn "Ramaze::Contrib::Route is being deprecated, use Ramaze::Route instead"
        end

        def [](key)
          Ramaze::Route.trait[:routes][key]
        end

        def []=(key, value)
          Ramaze::Route.trait[:routes][key] = value
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ramaze-0.3.5 lib/ramaze/contrib/route.rb
ramaze-0.3.9.1 lib/ramaze/contrib/route.rb
ramaze-0.3.9 lib/ramaze/contrib/route.rb