module Shortcuts::Helpers
Public Instance Methods
it_should()
click to toggle source
# File lib/shortcuts/helpers.rb, line 5 def it_should @not = false @messages = [] self end
message(last_message)
click to toggle source
# File lib/shortcuts/helpers.rb, line 17 def message(last_message) (@messages << last_message).join ' ' end
not()
click to toggle source
# File lib/shortcuts/helpers.rb, line 11 def not @not = true @messages << 'not' self end