Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 784

Show
Ignore:
Timestamp:
02/24/05 02:02:12 (4 years ago)
Author:
david
Message:

Documentation stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activesupport/lib/active_support/binding_of_caller.rb

    r624 r784  
    22  require 'simplecc' 
    33rescue LoadError 
    4   class Continuation; end # :nodoc: # for RDoc 
     4  class Continuation # :nodoc: # for RDoc 
     5  end 
    56  def Continuation.create(*args, &block) # :nodoc: 
    67    cc = nil; result = callcc {|c| cc = c; block.call(cc) if block and args.empty?} 
  • trunk/activesupport/lib/active_support/breakpoint.rb

    r743 r784  
    118118  end 
    119119 
    120   module CommandBundle 
     120  module CommandBundle #:nodoc: 
    121121    # Proxy to a Breakpoint client. Lets you directly execute code 
    122122    # in the context of the client. 
    123     class Client 
     123    class Client #:nodoc: 
    124124      def initialize(eval_handler) # :nodoc: 
    125125        eval_handler.untaint 
     
    219219  # if Breakpoint.asserts_cause_exceptions is set to 
    220220  # true. 
    221   class FailedAssertError < RuntimeError 
     221  class FailedAssertError < RuntimeError #:nodoc: 
    222222  end 
    223223 
     
    410410end 
    411411 
    412 module IRB # :nodoc: 
     412module IRB #:nodoc: 
    413413  class << self; remove_method :start; end 
    414414  def self.start(ap_path = nil, main_context = nil, workspace = nil) 
     
    463463  def IRB.parse_opts() end 
    464464 
    465   class Context 
     465  class Context #:nodoc: 
    466466    alias :old_evaluate :evaluate 
    467467    def evaluate(line, line_no) 
     
    474474  end 
    475475 
    476   class WorkSpace 
     476  class WorkSpace #:nodoc: 
    477477    alias :old_evaluate :evaluate 
    478478 
     
    492492  end 
    493493 
    494   module InputCompletor 
     494  module InputCompletor #:nodoc: 
    495495    def self.eval(code, context, *more) 
    496496      # Big hack, this assumes that InputCompletor 
     
    503503 
    504504module DRb # :nodoc: 
    505   class DRbObject 
     505  class DRbObject #:nodoc: 
    506506    undef :inspect if method_defined?(:inspect) 
    507507    undef :clone if method_defined?(:clone) 
  • trunk/activesupport/lib/active_support/core_ext/date/conversions.rb

    r738 r784  
    44      # Getting dates in different convenient string representations and other objects 
    55      module Conversions 
    6         def self.append_features(klass) 
     6        def self.append_features(klass) #:nodoc: 
    77          super 
    88          klass.send(:alias_method, :to_default_s, :to_s) 
  • trunk/activesupport/Rakefile

    r628 r784  
    11require 'rake/testtask' 
     2require 'rake/rdoctask' 
    23require 'rake/gempackagetask' 
    34require 'rake/contrib/rubyforgepublisher' 
     
    1516# Create compressed packages 
    1617dist_dirs = [ "lib", "test"] 
     18 
     19# Genereate the RDoc documentation 
     20 
     21Rake::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} 
    1730 
    1831spec = Gem::Specification.new do |s|