Module: Rack::Mount::Mixover::InstanceMethods
- Defined in:
- lib/rack/mount/mixover.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#dup ⇒ Object
8 9 10 11 12 13 |
# File 'lib/rack/mount/mixover.rb', line 8 def dup obj = super included_modules = (class << self; included_modules; end) - (class << obj; included_modules; end) included_modules.reverse.each { |mod| obj.extend(mod) } obj end |