Sha256: 5b984eb1298315e9caf297de2eed021624f0656812333946669fba68e2f3913e

Contents?: true

Size: 364 Bytes

Versions: 11

Compression:

Stored size: 364 Bytes

Contents

module Rack::App::SingletonMethods::Extensions

  protected

  def applied_extensions
    @applied_extensions ||= []
  end

  def apply_extensions(*extension_names)
    Rack::App::Extension.apply_extensions(self,applied_extensions,extension_names)
  end

  def extensions(*extensions_names)
    apply_extensions(*extensions_names)
    applied_extensions
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rack-app-4.0.1 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.6.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.5.2 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.5.1 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.5.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.4.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.3.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.2.1 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.2.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.1.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-3.0.0 lib/rack/app/singleton_methods/extensions.rb