Sha256: 07f69d3af3d4ca33719c299f7a055bf6b792e1cc62865b76e98c4e09b4407148

Contents?: true

Size: 202 Bytes

Versions: 156

Compression:

Stored size: 202 Bytes

Contents

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

Version data entries

156 entries across 126 versions & 25 rubygems

Version Path
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/helpers.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/shoulda-2.11.3/lib/shoulda/helpers.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/shoulda-2.11.3/lib/shoulda/helpers.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/shoulda-2.11.3/lib/shoulda/helpers.rb
Flamefork-shoulda-2.10.1 lib/shoulda/helpers.rb
Flamefork-shoulda-2.10.2 lib/shoulda/helpers.rb
auser-poolparty-1.3.0 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.1 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.10 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.11 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.12 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.13 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.14 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.15 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.16 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.17 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.2 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.3 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.4 vendor/gems/shoulda/lib/shoulda/helpers.rb
auser-poolparty-1.3.5 vendor/gems/shoulda/lib/shoulda/helpers.rb