diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-01-26 21:37:38 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-01-26 21:37:38 +0000 |
commit | 0aa0c84c179e82a2c7d206e75a5d515b82deeba5 (patch) | |
tree | a4dc530a6a2248d7edaf1029124e126765327117 /activesupport/lib/active_support/multibyte | |
parent | 768b60e60d19b8940138d5f412fa79f074b5c123 (diff) | |
download | rails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.tar.gz rails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.tar.bz2 rails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.zip |
Nodoc the irrelevant (from 1.2)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/multibyte')
4 files changed, 6 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb index a9795de523..374adc7849 100644 --- a/activesupport/lib/active_support/multibyte/chars.rb +++ b/activesupport/lib/active_support/multibyte/chars.rb @@ -2,7 +2,7 @@ require 'active_support/multibyte/handlers/utf8_handler' require 'active_support/multibyte/handlers/passthru_handler' # Encapsulates all the functionality related to the Chars proxy. -module ActiveSupport::Multibyte +module ActiveSupport::Multibyte #:nodoc: # Chars enables you to work transparently with multibyte encodings in the Ruby String class without having extensive # knowledge about the encoding. A Chars object accepts a string upon initialization and proxies String methods in an # encoding safe manner. All the normal String methods are also implemented on the proxy. diff --git a/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb b/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb index b28e345585..916215c2ce 100644 --- a/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb +++ b/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb @@ -1,6 +1,6 @@ # Chars uses this handler when $KCODE is not set to 'UTF8'. Because this handler doesn't define any methods all call # will be forwarded to String. -class ActiveSupport::Multibyte::Handlers::PassthruHandler +class ActiveSupport::Multibyte::Handlers::PassthruHandler #:nodoc: # Return the original byteoffset def self.translate_offset(string, byte_offset) #:nodoc: diff --git a/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb b/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb index 0d13cebf5c..009950d33e 100644 --- a/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb +++ b/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb @@ -1,6 +1,7 @@ # Contains all the handlers and helper classes -module ActiveSupport::Multibyte::Handlers - class EncodingError < ArgumentError; end +module ActiveSupport::Multibyte::Handlers #:nodoc: + class EncodingError < ArgumentError #:nodoc: + end class Codepoint #:nodoc: attr_accessor :code, :combining_class, :decomp_type, :decomp_mapping, :uppercase_mapping, :lowercase_mapping diff --git a/activesupport/lib/active_support/multibyte/handlers/utf8_handler_proc.rb b/activesupport/lib/active_support/multibyte/handlers/utf8_handler_proc.rb index f551af6cc7..f10eecc622 100644 --- a/activesupport/lib/active_support/multibyte/handlers/utf8_handler_proc.rb +++ b/activesupport/lib/active_support/multibyte/handlers/utf8_handler_proc.rb @@ -1,8 +1,7 @@ # Methods in this handler call functions in the utf8proc ruby extension. These are significantly faster than the # pure ruby versions. Chars automatically uses this handler when it can load the utf8proc extension. For # documentation on handler methods see UTF8Handler. -class ActiveSupport::Multibyte::Handlers::UTF8HandlerProc < ActiveSupport::Multibyte::Handlers::UTF8Handler - +class ActiveSupport::Multibyte::Handlers::UTF8HandlerProc < ActiveSupport::Multibyte::Handlers::UTF8Handler #:nodoc: class << self def normalize(str, form=ActiveSupport::Multibyte::DEFAULT_NORMALIZATION_FORM) #:nodoc: codepoints = str.unpack('U*') |