Changeset 784
- Timestamp:
- 02/24/05 02:02:12 (4 years ago)
- Files:
-
- trunk/activesupport/lib/active_support/binding_of_caller.rb (modified) (1 diff)
- trunk/activesupport/lib/active_support/breakpoint.rb (modified) (7 diffs)
- trunk/activesupport/lib/active_support/core_ext/date/conversions.rb (modified) (1 diff)
- trunk/activesupport/Rakefile (modified) (2 diffs)
- trunk/activesupport/README (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activesupport/lib/active_support/binding_of_caller.rb
r624 r784 2 2 require 'simplecc' 3 3 rescue LoadError 4 class Continuation; end # :nodoc: # for RDoc 4 class Continuation # :nodoc: # for RDoc 5 end 5 6 def Continuation.create(*args, &block) # :nodoc: 6 7 cc = nil; result = callcc {|c| cc = c; block.call(cc) if block and args.empty?} trunk/activesupport/lib/active_support/breakpoint.rb
r743 r784 118 118 end 119 119 120 module CommandBundle 120 module CommandBundle #:nodoc: 121 121 # Proxy to a Breakpoint client. Lets you directly execute code 122 122 # in the context of the client. 123 class Client 123 class Client #:nodoc: 124 124 def initialize(eval_handler) # :nodoc: 125 125 eval_handler.untaint … … 219 219 # if Breakpoint.asserts_cause_exceptions is set to 220 220 # true. 221 class FailedAssertError < RuntimeError 221 class FailedAssertError < RuntimeError #:nodoc: 222 222 end 223 223 … … 410 410 end 411 411 412 module IRB # :nodoc:412 module IRB #:nodoc: 413 413 class << self; remove_method :start; end 414 414 def self.start(ap_path = nil, main_context = nil, workspace = nil) … … 463 463 def IRB.parse_opts() end 464 464 465 class Context 465 class Context #:nodoc: 466 466 alias :old_evaluate :evaluate 467 467 def evaluate(line, line_no) … … 474 474 end 475 475 476 class WorkSpace 476 class WorkSpace #:nodoc: 477 477 alias :old_evaluate :evaluate 478 478 … … 492 492 end 493 493 494 module InputCompletor 494 module InputCompletor #:nodoc: 495 495 def self.eval(code, context, *more) 496 496 # Big hack, this assumes that InputCompletor … … 503 503 504 504 module DRb # :nodoc: 505 class DRbObject 505 class DRbObject #:nodoc: 506 506 undef :inspect if method_defined?(:inspect) 507 507 undef :clone if method_defined?(:clone) trunk/activesupport/lib/active_support/core_ext/date/conversions.rb
r738 r784 4 4 # Getting dates in different convenient string representations and other objects 5 5 module Conversions 6 def self.append_features(klass) 6 def self.append_features(klass) #:nodoc: 7 7 super 8 8 klass.send(:alias_method, :to_default_s, :to_s) trunk/activesupport/Rakefile
r628 r784 1 1 require 'rake/testtask' 2 require 'rake/rdoctask' 2 3 require 'rake/gempackagetask' 3 4 require 'rake/contrib/rubyforgepublisher' … … 15 16 # Create compressed packages 16 17 dist_dirs = [ "lib", "test"] 18 19 # Genereate the RDoc documentation 20 21 Rake::RDocTask.new { |rdoc| 22 rdoc.rdoc_dir = 'doc' 23 rdoc.title = "Active Support -- Utility classes and standard library extensions from Rails" 24 rdoc.options << '--line-numbers --inline-source --main README' 25 rdoc.rdoc_files.include('README', 'CHANGELOG') 26 rdoc.rdoc_files.include('lib/active_support.rb') 27 rdoc.rdoc_files.include('lib/active_support/*.rb') 28 rdoc.rdoc_files.include('lib/active_support/**/*.rb') 29 } 17 30 18 31 spec = Gem::Specification.new do |s|