mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed documentation for release (AS)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
169eb781f1
commit
dc8989a425
4 changed files with 12 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
require File.dirname(__FILE__) + '/cgi/escape_skipping_slashes'
|
||||
|
||||
class CGI
|
||||
class CGI #:nodoc:
|
||||
extend(ActiveSupport::CoreExtensions::CGI::EscapeSkippingSlashes)
|
||||
end
|
||||
|
|
|
@ -50,7 +50,7 @@ end
|
|||
module ActiveSupport #:nodoc:
|
||||
module CoreExtensions #:nodoc:
|
||||
module Hash #:nodoc:
|
||||
module IndifferentAccess
|
||||
module IndifferentAccess #:nodoc:
|
||||
def with_indifferent_access
|
||||
HashWithIndifferentAccess.new(self)
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class MissingSourceFile < LoadError
|
||||
class MissingSourceFile < LoadError #:nodoc:
|
||||
attr_reader :path
|
||||
def initialize(message, path)
|
||||
super(message)
|
||||
|
@ -24,10 +24,10 @@ class MissingSourceFile < LoadError
|
|||
]
|
||||
end
|
||||
|
||||
module ActiveSupport
|
||||
module CoreExtensions
|
||||
module LoadErrorExtensions
|
||||
module LoadErrorClassMethods
|
||||
module ActiveSupport #:nodoc:
|
||||
module CoreExtensions #:nodoc:
|
||||
module LoadErrorExtensions #:nodoc:
|
||||
module LoadErrorClassMethods #:nodoc:
|
||||
def new(*args)
|
||||
(self == LoadError && MissingSourceFile.from_message(args.first)) || super
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require File.dirname(__FILE__) + '/module_attribute_accessors'
|
||||
|
||||
module Dependencies
|
||||
module Dependencies #:nodoc:
|
||||
extend self
|
||||
|
||||
@@loaded = [ ]
|
||||
|
@ -48,7 +48,7 @@ module Dependencies
|
|||
# load the relavent files automatically.
|
||||
#
|
||||
# Ruby-style modules are supported, as a folder named 'submodule' will load 'submodule.rb' when available.
|
||||
class LoadingModule < Module
|
||||
class LoadingModule < Module #:nodoc:
|
||||
attr_reader :path
|
||||
attr_reader :root
|
||||
|
||||
|
@ -111,7 +111,7 @@ module Dependencies
|
|||
end
|
||||
end
|
||||
|
||||
class RootLoadingModule < LoadingModule
|
||||
class RootLoadingModule < LoadingModule #:nodoc:
|
||||
attr_reader :load_paths
|
||||
|
||||
def initialize(*paths)
|
||||
|
@ -137,7 +137,7 @@ module Dependencies
|
|||
end
|
||||
|
||||
# This object defines a path from which Constants can be loaded.
|
||||
class ConstantLoadPath
|
||||
class ConstantLoadPath #:nodoc:
|
||||
# Create a new load path with the filesystem path
|
||||
def initialize(root) @root = root end
|
||||
|
||||
|
@ -205,7 +205,7 @@ class Object #:nodoc:
|
|||
end
|
||||
|
||||
# Add file-blaming to exceptions
|
||||
class Exception
|
||||
class Exception #:nodoc:
|
||||
def blame_file!(file)
|
||||
(@blamed_files ||= []).unshift file
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue