Chapter 5.  Sources

Table of Contents

File: __dummy__.rb
Overview
Code
File: active_support.rb
Overview
Code
File: activesupport.rb
Code
File: active_support/all.rb
Code
File: active_support/backtrace_cleaner.rb
Overview
Code
File: active_support/base64.rb
Overview
Code
File: active_support/basic_object.rb
Overview
Code
File: active_support/buffered_logger.rb
Overview
Code
File: active_support/cache.rb
Overview
Code
File: active_support/cache/compressed_mem_cache_store.rb
Overview
Code
File: active_support/cache/drb_store.rb
Overview
Code
File: active_support/cache/file_store.rb
Overview
Code
File: active_support/cache/mem_cache_store.rb
Overview
Code
File: active_support/cache/memory_store.rb
Overview
Code
File: active_support/cache/strategy/local_cache.rb
Overview
Code
File: active_support/cache/synchronized_memory_store.rb
Overview
Code
File: active_support/callbacks.rb
Overview
Code
File: active_support/core_ext.rb
Code
File: active_support/core_ext/array.rb
Overview
Code
File: active_support/core_ext/array/access.rb
Overview
Code
File: active_support/core_ext/array/conversions.rb
Overview
Code
File: active_support/core_ext/array/extract_options.rb
Overview
Code
File: active_support/core_ext/array/grouping.rb
Overview
Code
File: active_support/core_ext/array/random_access.rb
Overview
Code
File: active_support/core_ext/array/wrapper.rb
Overview
Code
File: active_support/core_ext/base64.rb
Code
File: active_support/core_ext/base64/encoding.rb
Overview
Code
File: active_support/core_ext/benchmark.rb
Code
File: active_support/core_ext/bigdecimal.rb
Overview
Code
File: active_support/core_ext/bigdecimal/conversions.rb
Overview
Code
File: active_support/core_ext/blank.rb
Code
File: active_support/core_ext/cgi.rb
Overview
Code
File: active_support/core_ext/cgi/escape_skipping_slashes.rb
Overview
Code
File: active_support/core_ext/class.rb
Code
File: active_support/core_ext/class/attribute.rb
Overview
Code
File: active_support/core_ext/class/attribute_accessors.rb
Overview
Code
File: active_support/core_ext/class/delegating_attributes.rb
Overview
Code
File: active_support/core_ext/class/inheritable_attributes.rb
Overview
Code
File: active_support/core_ext/class/removal.rb
Overview
Code
File: active_support/core_ext/date.rb
Overview
Code
File: active_support/core_ext/date/behavior.rb
Overview
Code
File: active_support/core_ext/date/calculations.rb
Overview
Code
File: active_support/core_ext/date/conversions.rb
Overview
Code
File: active_support/core_ext/date_time.rb
Overview
Code
File: active_support/core_ext/date_time/calculations.rb
Overview
Code
File: active_support/core_ext/date_time/conversions.rb
Overview
Code
File: active_support/core_ext/duplicable.rb
Overview
Code
File: active_support/core_ext/enumerable.rb
Overview
Code
File: active_support/core_ext/exception.rb
Overview
Code
File: active_support/core_ext/file.rb
Overview
Code
File: active_support/core_ext/file/atomic.rb
Overview
Code
File: active_support/core_ext/float.rb
Overview
Code
File: active_support/core_ext/float/rounding.rb
Overview
Code
File: active_support/core_ext/float/time.rb
Overview
Code
File: active_support/core_ext/hash.rb
Overview
Code
File: active_support/core_ext/hash/conversions.rb
Overview
Code
File: active_support/core_ext/hash/deep_merge.rb
Overview
Code
File: active_support/core_ext/hash/diff.rb
Overview
Code
File: active_support/core_ext/hash/except.rb
Overview
Code
File: active_support/core_ext/hash/indifferent_access.rb
Overview
Code
File: active_support/core_ext/hash/keys.rb
Overview
Code
File: active_support/core_ext/hash/reverse_merge.rb
Overview
Code
File: active_support/core_ext/hash/slice.rb
Overview
Code
File: active_support/core_ext/integer.rb
Overview
Code
File: active_support/core_ext/integer/even_odd.rb
Overview
Code
File: active_support/core_ext/integer/inflections.rb
Overview
Code
File: active_support/core_ext/integer/time.rb
Overview
Code
File: active_support/core_ext/kernel.rb
Code
File: active_support/core_ext/kernel/agnostics.rb
Code
File: active_support/core_ext/kernel/daemonizing.rb
Overview
Code
File: active_support/core_ext/kernel/debugger.rb
Overview
Code
File: active_support/core_ext/kernel/reporting.rb
Overview
Code
File: active_support/core_ext/kernel/requires.rb
Overview
Code
File: active_support/core_ext/kernel/singleton_class.rb
Overview
Code
File: active_support/core_ext/load_error.rb
Overview
Code
File: active_support/core_ext/logger.rb
Overview
Code
File: active_support/core_ext/module.rb
Overview
Code
File: active_support/core_ext/module/aliasing.rb
Overview
Code
File: active_support/core_ext/module/attr_accessor_with_default.rb
Overview
Code
File: active_support/core_ext/module/attr_internal.rb
Overview
Code
File: active_support/core_ext/module/attribute_accessors.rb
Overview
Code
File: active_support/core_ext/module/delegation.rb
Overview
Code
File: active_support/core_ext/module/inclusion.rb
Overview
Code
File: active_support/core_ext/module/introspection.rb
Overview
Code
File: active_support/core_ext/module/loading.rb
Overview
Code
File: active_support/core_ext/module/model_naming.rb
Overview
Code
File: active_support/core_ext/module/remove_method.rb
Overview
Code
File: active_support/core_ext/module/synchronization.rb
Overview
Code
File: active_support/core_ext/name_error.rb
Overview
Code
File: active_support/core_ext/numeric.rb
Overview
Code
File: active_support/core_ext/numeric/bytes.rb
Overview
Code
File: active_support/core_ext/numeric/conversions.rb
Overview
Code
File: active_support/core_ext/numeric/time.rb
Overview
Code
File: active_support/core_ext/object.rb
Code
File: active_support/core_ext/object/blank.rb
Overview
Code
File: active_support/core_ext/object/conversions.rb
Code
File: active_support/core_ext/object/extending.rb
Overview
Code
File: active_support/core_ext/object/instance_variables.rb
Code
File: active_support/core_ext/object/metaclass.rb
Code
File: active_support/core_ext/object/misc.rb
Code
File: active_support/core_ext/object/singleton_class.rb
Code
File: active_support/core_ext/pathname/clean_within.rb
Overview
Code
File: active_support/core_ext/pathname.rb
Overview
Code
File: active_support/core_ext/proc.rb
Overview
Code
File: active_support/core_ext/process/daemon.rb
Overview
Code
File: active_support/core_ext/process.rb
Code
File: active_support/core_ext/range.rb
Overview
Code
File: active_support/core_ext/range/blockless_step.rb
Overview
Code
File: active_support/core_ext/range/conversions.rb
Overview
Code
File: active_support/core_ext/range/include_range.rb
Overview
Code
File: active_support/core_ext/range/overlaps.rb
Overview
Code
File: active_support/core_ext/rexml.rb
Overview
Code
File: active_support/core_ext/string.rb
Overview
Code
File: active_support/core_ext/string/access.rb
Overview
Code
File: active_support/core_ext/string/behavior.rb
Overview
Code
File: active_support/core_ext/string/bytesize.rb
Overview
Code
File: active_support/core_ext/string/conversions.rb
Overview
Code
File: active_support/core_ext/string/filters.rb
Overview
Code
File: active_support/core_ext/string/inflections.rb
Overview
Code
File: active_support/core_ext/string/iterators.rb
Overview
Code
File: active_support/core_ext/string/multibyte.rb
Overview
Code
File: active_support/core_ext/string/output_safety.rb
Overview
Code
File: active_support/core_ext/string/starts_ends_with.rb
Overview
Code
File: active_support/core_ext/string/xchar.rb
Overview
Code
File: active_support/core_ext/symbol.rb
Overview
Code
File: active_support/core_ext/time.rb
Overview
Code
File: active_support/core_ext/time/behavior.rb
Overview
Code
File: active_support/core_ext/time/calculations.rb
Overview
Code
File: active_support/core_ext/time/conversions.rb
Overview
Code
File: active_support/core_ext/time/zones.rb
Overview
Code
File: active_support/core_ext/try.rb
Overview
Code
File: active_support/core_ext/uri.rb
Code
File: active_support/dependencies.rb
Overview
Code
File: active_support/deprecation.rb
Overview
Code
File: active_support/duration.rb
Overview
Code
File: active_support/gzip.rb
Overview
Code
File: active_support/inflections.rb
Overview
Code
File: active_support/inflector.rb
Overview
Code
File: active_support/json.rb
Code
File: active_support/json/backends/jsongem.rb
Overview
Code
File: active_support/json/backends/yajl.rb
Overview
Code
File: active_support/json/backends/yaml.rb
Overview
Code
File: active_support/json/decoding.rb
Overview
Code
File: active_support/json/encoders/date.rb
Overview
Code
File: active_support/json/encoders/date_time.rb
Overview
Code
File: active_support/json/encoders/enumerable.rb
Overview
Code
File: active_support/json/encoders/false_class.rb
Overview
Code
File: active_support/json/encoders/hash.rb
Overview
Code
File: active_support/json/encoders/nil_class.rb
Overview
Code
File: active_support/json/encoders/numeric.rb
Overview
Code
File: active_support/json/encoders/object.rb
Code
File: active_support/json/encoders/regexp.rb
Overview
Code
File: active_support/json/encoders/string.rb
Overview
Code
File: active_support/json/encoders/symbol.rb
Overview
Code
File: active_support/json/encoders/time.rb
Overview
Code
File: active_support/json/encoders/true_class.rb
Overview
Code
File: active_support/json/encoding.rb
Overview
Code
File: active_support/json/variable.rb
Overview
Code
File: active_support/memoizable.rb
Overview
Code
File: active_support/message_encryptor.rb
Overview
Code
File: active_support/message_verifier.rb
Overview
Code
File: active_support/multibyte.rb
Overview
Code
File: active_support/multibyte/chars.rb
Overview
Code
File: active_support/multibyte/exceptions.rb
Overview
Code
File: active_support/multibyte/unicode_database.rb
Overview
Code
File: active_support/multibyte/utils.rb
Overview
Code
File: active_support/option_merger.rb
Overview
Code
File: active_support/ordered_hash.rb
Overview
Code
File: active_support/ordered_options.rb
Overview
Code
File: active_support/rescuable.rb
Overview
Code
File: active_support/secure_random.rb
Overview
Code
File: active_support/string_inquirer.rb
Overview
Code
File: active_support/test_case.rb
Overview
Code
File: active_support/testing/assertions.rb
Overview
Code
File: active_support/testing/declarative.rb
Overview
Code
File: active_support/testing/default.rb
Overview
Code
File: active_support/testing/deprecation.rb
Overview
Code
File: active_support/testing/performance.rb
Overview
Code
File: active_support/testing/setup_and_teardown.rb
Overview
Code
File: active_support/time_with_zone.rb
Overview
Code
File: active_support/values/time_zone.rb
Overview
Code
File: active_support/vendor.rb
Overview
Code
File: active_support/vendor/builder-2.1.2/builder.rb
Code
File: active_support/vendor/builder-2.1.2/blankslate.rb
Overview
Code
File: active_support/vendor/builder-2.1.2/builder/blankslate.rb
Overview
Code
File: active_support/vendor/builder-2.1.2/builder/css.rb
Overview
Code
File: active_support/vendor/builder-2.1.2/builder/xchar.rb
Overview
Code
File: active_support/vendor/builder-2.1.2/builder/xmlbase.rb
Overview
Code
File: active_support/vendor/builder-2.1.2/builder/xmlevents.rb
Overview
Code
File: active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/active_record.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/active_record/missing.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/active_record/store_procs.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/active_record/translation.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/base.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/cache.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/cascade.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/chain.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/cldr.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/fallbacks.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/flatten.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/gettext.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/key_value.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/memoize.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/metadata.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/pluralization.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/simple.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/backend/transliterator.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/config.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/core_ext/hash.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/core_ext/string/interpolate.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/exceptions.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/gettext.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/gettext/helpers.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/gettext/po_parser.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/locale.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/locale/fallbacks.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/locale/tag/parents.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/locale/tag/rfc4646.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/locale/tag/simple.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/locale/tag.rb
Overview
Code
File: active_support/vendor/i18n-0.4.1/i18n/version.rb
Overview
Code
File: active_support/vendor/memcache-client-1.7.4/memcache.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo.rb
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb
Overview
Code
File: active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb
Overview
Code
File: active_support/version.rb
Overview
Code
File: active_support/whiny_nil.rb
Overview
Code
File: active_support/xml_mini.rb
Overview
Code
File: active_support/xml_mini/jdom.rb
Overview
Code
File: active_support/xml_mini/libxml.rb
Overview
Code
File: active_support/xml_mini/libxmlsax.rb
Overview
Code
File: active_support/xml_mini/nokogiri.rb
Overview
Code
File: active_support/xml_mini/nokogirisax.rb
Overview
Code
File: active_support/xml_mini/rexml.rb
Overview
Code

File: __dummy__.rb

Overview

Module Structure

  module: <Toplevel Module>
  module: Racc#9
  class: Parser#10
inherits from
  Object ( Builtin-Module )
  module: REXML#17
  class: Child#18
inherits from
  Object ( Builtin-Module )
  class: Entity#19
inherits from
  Child ( REXML )
  class: Parent#20
inherits from
  Child ( REXML )
  class: Element#21
inherits from
  Parent ( REXML )
  class: Document#22
inherits from
  Element ( REXML )
  module: Net#29
  class: BufferedIO#30
inherits from
  Object ( Builtin-Module )
  module: Test#37
  module: Unit#38
  class: TestCase#39
inherits from
  Object ( Builtin-Module )
  module: ActiveRecord#51
  class: Base#52
inherits from
  Object ( Builtin-Module )
  module: Nokogiri#59
  module: XML#60
  module: SAX#61
  class: Document#62
inherits from
  Object ( Builtin-Module )

Class Hierarchy

Object ( Builtin-Module )
Parser ( Racc ) — #10
Child ( REXML ) — #18
Entity ( REXML ) — #19
Parent ( REXML ) — #20
Element ( REXML ) — #21
  Document    #22
BufferedIO ( Net ) — #30
TestCase ( Test::Unit ) — #39
Base ( ActiveRecord ) — #52
Document ( Nokogiri::XML::SAX ) — #62

Code

   1  # $Id: __dummy__.rb,v 1.1 2011/12/16 22:49:05 machan Exp $
   2 
   3  ################################
   4  ####  for standard library  ####
   5  ################################
   6 
   7  # for 'racc/parser'
   8 
   9  module Racc
  10    class Parser; end
  11  end
  12 
  13 
  14 
  15  # for 'rexml'
  16 
  17  module REXML
  18    class Child; end
  19    class Entity < Child; end
  20    class Parent < Child; end
  21    class Element < Parent; end
  22    class Document < Element; end
  23  end
  24 
  25 
  26 
  27  # for 'net'
  28 
  29  module Net
  30    class BufferedIO; end
  31  end
  32 
  33 
  34 
  35  # for 'test/unit/test_case'
  36 
  37  module Test
  38    module Unit
  39      class TestCase; end
  40    end
  41  end
  42 
  43 
  44 
  45  ##############################
  46  ####  for other packages  ####
  47  ##############################
  48 
  49  # for 'active_record'
  50 
  51  module ActiveRecord
  52    class Base; end
  53  end
  54 
  55 
  56 
  57  # for 'nokogiri'
  58 
  59  module Nokogiri
  60    module XML
  61      module SAX
  62        class Document
  63      end
  64    end
  65  end