aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib/action_web_service/container
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-02 09:29:43 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-02 09:29:43 +0000
commit7c8d2f28e16958b16812b5fef3d7eca8b640e445 (patch)
treecddf56dc4b0fb169d6e4f48e359e4a91915f8feb /actionwebservice/lib/action_web_service/container
parentc788bcb416f4487f99a9e5dacf9a48623412b034 (diff)
downloadrails-7c8d2f28e16958b16812b5fef3d7eca8b640e445.tar.gz
rails-7c8d2f28e16958b16812b5fef3d7eca8b640e445.tar.bz2
rails-7c8d2f28e16958b16812b5fef3d7eca8b640e445.zip
Removed broken attempt to DRY module ClassMethod #970
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service/container')
-rw-r--r--actionwebservice/lib/action_web_service/container/direct_container.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionwebservice/lib/action_web_service/container/direct_container.rb b/actionwebservice/lib/action_web_service/container/direct_container.rb
index 1d71417f82..b53c542fc8 100644
--- a/actionwebservice/lib/action_web_service/container/direct_container.rb
+++ b/actionwebservice/lib/action_web_service/container/direct_container.rb
@@ -4,6 +4,11 @@ module ActionWebService # :nodoc:
class ContainerError < ActionWebServiceError # :nodoc:
end
+ def self.append_features(base) # :nodoc:
+ super
+ base.extend(ClassMethods)
+ end
+
module ClassMethods
# Attaches ActionWebService API +definition+ to the calling class.
#