class method
self.[]
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v3.2.22.5Signature
self.[](name)
No documentation comment.
Parameters
-
namereq
Source
# File activesupport/lib/active_support/testing/performance.rb, line 221
def self.[](name)
const_get(name.to_s.camelize)
rescue NameError
nil
end
Defined in activesupport/lib/active_support/testing/performance.rb line 221
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Testing::Performance::Metrics