module Ramaze
Namespace for Ramaze
THINK:
* for now, we don't extend this with Innate to keep things clean. But we should eventually do it for a simple API, or people always have to find out whether something is in Innate or Ramaze. No matter which way we go, we should keep references point to the original location to avoid too much confusion for core developers.
Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
All files in this distribution are subject to the terms of the MIT license.
Constants
- AppMap
An application is a collection of controllers and options that have a common name. Every application has a location it dispatches from, this behaves similar to Rack::URLMap.
- Cache
- DEPRECATED_CONSTANTS
- Helper
- Log
- OpenIDStore
Constant for storing meta-information persistent
- ROOT
- VERSION
- View
Attributes
Public Class Methods
# File lib/ramaze/snippets/ramaze/deprecated.rb, line 15 def self.const_missing(name) if to = DEPRECATED_CONSTANTS[name] Log.warn "Ramaze::#{name} is deprecated, use #{to} instead" constant(to) else super end end
@see Innate.core
# File lib/ramaze.rb, line 60 def self.core roots, publics = options[:roots], options[:publics] joined = roots.map { |r| publics.map { |p| File.join(r, p) } } joined = joined.flatten.map { |p| Rack::File.new(p) } current = Current.new(Route.new(AppMap), Rewrite.new(AppMap)) return Rack::Cascade.new(joined << current, [404, 405]) end
# File lib/ramaze/snippets/ramaze/deprecated.rb, line 8 def self.deprecated(from, to = nil) message = "%s is deprecated" message << ", use %s instead" unless to.nil? message << " - from: %p" Log.warn(message % [from, to, caller[1]]) end