diff options
Diffstat (limited to 'actionwebservice/lib/action_web_service/container')
-rw-r--r-- | actionwebservice/lib/action_web_service/container/delegated_container.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionwebservice/lib/action_web_service/container/delegated_container.rb b/actionwebservice/lib/action_web_service/container/delegated_container.rb index 674141aab6..ae2c257c9c 100644 --- a/actionwebservice/lib/action_web_service/container/delegated_container.rb +++ b/actionwebservice/lib/action_web_service/container/delegated_container.rb @@ -79,7 +79,7 @@ module ActionWebService # :nodoc: raise(ContainerError, "no such web service '#{web_service_name}'") end service = info[:block] - service ? instance_eval(&service) : info[:object] + service ? self.instance_eval(&service) : info[:object] end end end |