Sha256: 93ec8fbc0af7d1a05495692e15618bd75feaf81cedffd81f841b07993aab4a0e

Contents?: true

Size: 365 Bytes

Versions: 28

Compression:

Stored size: 365 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

28 entries across 28 versions & 2 rubygems

Version Path
rack-app-11.0.2 lib/rack/app/singleton_methods/extensions.rb
rack-app-11.0.1 lib/rack/app/singleton_methods/extensions.rb
rack-app-11.0.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-10.0.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-9.0.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-8.1.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-8.0.1 lib/rack/app/singleton_methods/extensions.rb
rack-app-8.0.0 lib/rack/app/singleton_methods/extensions.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/extensions.rb
rack-app-7.7.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.6.5 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.6.4 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.6.3 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.6.2 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.6.1 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.6.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.5.2 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.5.1 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.5.0 lib/rack/app/singleton_methods/extensions.rb
rack-app-7.4.0 lib/rack/app/singleton_methods/extensions.rb