Module: Shortcuts::Helpers
- Includes:
- Db
- Defined in:
- lib/shortcuts/helpers.rb
Defined Under Namespace
Modules: Db
Instance Method Summary collapse
Methods included from Db
Instance Method Details
#it_should ⇒ Object
5 6 7 8 9 |
# File 'lib/shortcuts/helpers.rb', line 5 def it_should @not = false @messages = [] self end |
#message(last_message) ⇒ Object
17 18 19 |
# File 'lib/shortcuts/helpers.rb', line 17 def () (@messages << ).join ' ' end |
#not ⇒ Object
11 12 13 14 15 |
# File 'lib/shortcuts/helpers.rb', line 11 def not @not = true @messages << 'not' self end |