Organizando plugins e gems.
This commit is contained in:
8
vendor/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/helpers.rb
vendored
Normal file
8
vendor/gems/thoughtbot-shoulda-2.10.1/lib/shoulda/helpers.rb
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
module Shoulda # :nodoc:
|
||||
module Helpers
|
||||
# Prints a message to stdout, tagged with the name of the calling method.
|
||||
def report!(msg = "")
|
||||
puts("#{caller.first}: #{msg}")
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user