class method
self.new
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
self.new(app)
No documentation comment.
Parameters
-
appreq
Source
# File railties/lib/rails/rack/metal.rb, line 35
def initialize(app)
@app = app
@metals = ActiveSupport::OrderedHash.new
self.class.metals.each { |app| @metals[app] = true }
freeze
end
Defined in railties/lib/rails/rack/metal.rb line 35
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Rack::Metal