Module: Shoulda::Helpers
- Defined in:
- lib/shoulda/helpers.rb
Instance Method Summary collapse
-
#report!(msg = "") ⇒ Object
Prints a message to stdout, tagged with the name of the calling method.
Instance Method Details
#report!(msg = "") ⇒ Object
Prints a message to stdout, tagged with the name of the calling method.
4 5 6 |
# File 'lib/shoulda/helpers.rb', line 4 def report!(msg = "") puts("#{caller.first}: #{msg}") end |