自分のライブラリで String などの基本的なクラスをオープンしてメソッドを追加する場合の書き方について、activesupport-2.3.2、activesupport-3.2.3、zucker-12.1、facets-2.9.3 でどうやっているかを調べました。 activesupport-2.3.2 の場合 ▼ activesupport-2.3.2/lib/active_support/core_ext/string.rb require 'active_support/core_ext/string/filters' ... class String #:nodoc: ... include ActiveSupport::CoreExtensions::String::Filters ... end ▼ activesupport-2.3.2/lib/active_suppo