class method
self.describe
Ruby on Rails 4.0.13
Since v3.0.20 Last seen in v4.1.16Signature
self.describe(text)
No documentation comment.
Parameters
-
textreq
Source
# File activesupport/lib/active_support/testing/declarative.rb, line 9
def self.describe(text)
class_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1
def self.name
"#{text}"
end
RUBY_EVAL
end
Defined in activesupport/lib/active_support/testing/declarative.rb line 9
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Testing::Declarative