Module: ScratchPad
- Defined in:
- lib/extensions/mspec/mspec/helpers/scratch.rb
Class Method Summary collapse
Class Method Details
.<<(arg) ⇒ Object
10 11 12 |
# File 'lib/extensions/mspec/mspec/helpers/scratch.rb', line 10 def self.<<(arg) @record << arg end |
.clear ⇒ Object
2 3 4 |
# File 'lib/extensions/mspec/mspec/helpers/scratch.rb', line 2 def self.clear @record = nil end |
.record(arg) ⇒ Object
6 7 8 |
# File 'lib/extensions/mspec/mspec/helpers/scratch.rb', line 6 def self.record(arg) @record = arg end |
.recorded ⇒ Object
14 15 16 |
# File 'lib/extensions/mspec/mspec/helpers/scratch.rb', line 14 def self.recorded @record end |