aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-02-24 02:02:12 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-02-24 02:02:12 +0000
commit3c1f7ee60ff6125972f532cdb295c85e38146405 (patch)
treef5dbcda38851c334387019164ed534698d32d9e5 /activesupport/lib
parentaf56c806bcf915f8125302001bf91bd20268966a (diff)
downloadrails-3c1f7ee60ff6125972f532cdb295c85e38146405.tar.gz
rails-3c1f7ee60ff6125972f532cdb295c85e38146405.tar.bz2
rails-3c1f7ee60ff6125972f532cdb295c85e38146405.zip
Documentation stuff
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/binding_of_caller.rb3
-rwxr-xr-xactivesupport/lib/active_support/breakpoint.rb16
-rw-r--r--activesupport/lib/active_support/core_ext/date/conversions.rb2
3 files changed, 11 insertions, 10 deletions
diff --git a/activesupport/lib/active_support/binding_of_caller.rb b/activesupport/lib/active_support/binding_of_caller.rb
index d18fbdef3d..e224c996da 100644
--- a/activesupport/lib/active_support/binding_of_caller.rb
+++ b/activesupport/lib/active_support/binding_of_caller.rb
@@ -1,7 +1,8 @@
begin
require 'simplecc'
rescue LoadError
- class Continuation; end # :nodoc: # for RDoc
+ class Continuation # :nodoc: # for RDoc
+ end
def Continuation.create(*args, &block) # :nodoc:
cc = nil; result = callcc {|c| cc = c; block.call(cc) if block and args.empty?}
result ||= args
diff --git a/activesupport/lib/active_support/breakpoint.rb b/activesupport/lib/active_support/breakpoint.rb
index 55c97b95e9..ab2efd39d0 100755
--- a/activesupport/lib/active_support/breakpoint.rb
+++ b/activesupport/lib/active_support/breakpoint.rb
@@ -117,10 +117,10 @@ module Breakpoint
end
end
- module CommandBundle
+ module CommandBundle #:nodoc:
# Proxy to a Breakpoint client. Lets you directly execute code
# in the context of the client.
- class Client
+ class Client #:nodoc:
def initialize(eval_handler) # :nodoc:
eval_handler.untaint
@eval_handler = eval_handler
@@ -218,7 +218,7 @@ module Breakpoint
# These exceptions will be raised on failed asserts
# if Breakpoint.asserts_cause_exceptions is set to
# true.
- class FailedAssertError < RuntimeError
+ class FailedAssertError < RuntimeError #:nodoc:
end
# This asserts that the block evaluates to true.
@@ -409,7 +409,7 @@ module Breakpoint
end
end
-module IRB # :nodoc:
+module IRB #:nodoc:
class << self; remove_method :start; end
def self.start(ap_path = nil, main_context = nil, workspace = nil)
$0 = File::basename(ap_path, ".rb") if ap_path
@@ -462,7 +462,7 @@ module IRB # :nodoc:
end
def IRB.parse_opts() end
- class Context
+ class Context #:nodoc:
alias :old_evaluate :evaluate
def evaluate(line, line_no)
if line.chomp == "exit" then
@@ -473,7 +473,7 @@ module IRB # :nodoc:
end
end
- class WorkSpace
+ class WorkSpace #:nodoc:
alias :old_evaluate :evaluate
def evaluate(*args)
@@ -491,7 +491,7 @@ module IRB # :nodoc:
end
end
- module InputCompletor
+ module InputCompletor #:nodoc:
def self.eval(code, context, *more)
# Big hack, this assumes that InputCompletor
# will only call eval() when it wants code
@@ -502,7 +502,7 @@ module IRB # :nodoc:
end
module DRb # :nodoc:
- class DRbObject
+ class DRbObject #:nodoc:
undef :inspect if method_defined?(:inspect)
undef :clone if method_defined?(:clone)
end
diff --git a/activesupport/lib/active_support/core_ext/date/conversions.rb b/activesupport/lib/active_support/core_ext/date/conversions.rb
index 3520b7a6b9..e6ddf9fade 100644
--- a/activesupport/lib/active_support/core_ext/date/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/date/conversions.rb
@@ -3,7 +3,7 @@ module ActiveSupport #:nodoc:
module Date #:nodoc:
# Getting dates in different convenient string representations and other objects
module Conversions
- def self.append_features(klass)
+ def self.append_features(klass) #:nodoc:
super
klass.send(:alias_method, :to_default_s, :to_s)
klass.send(:alias_method, :to_s, :to_formatted_s)