Sha256: db7fc9f4dc0939b1b437d2852c1c988a6197d9016e6375c6408079cdf5b55812

Contents?: true

Size: 195 Bytes

Versions: 211

Compression:

Stored size: 195 Bytes

Contents

module ScratchPad
  def self.clear
    @record = nil
  end

  def self.record(arg)
    @record = arg
  end

  def self.<<(arg)
    @record << arg
  end

  def self.recorded
    @record
  end
end

Version data entries

211 entries across 187 versions & 6 rubygems

Version Path
mspec-1.7.0 lib/mspec/helpers/scratch.rb
mspec-1.6.0 lib/mspec/helpers/scratch.rb
mspec-1.5.21 lib/mspec/helpers/scratch.rb
opal-spec-0.2.15 opal/opal/spec/scratch_pad.rb
mspec-1.5.20 lib/mspec/helpers/scratch.rb
mspec-1.5.19 lib/mspec/helpers/scratch.rb
opal-spec-0.2.14 lib/assets/javascripts/opal/spec/scratch_pad.rb
opal-spec-0.2.13 lib/assets/javascripts/opal/spec/scratch_pad.rb
opal-spec-0.2.12 lib/assets/javascripts/opal/spec/scratch_pad.rb
opal-spec-0.2.11 lib/assets/javascripts/opal/spec/scratch_pad.rb
mspec-1.5.18 lib/mspec/helpers/scratch.rb
opal-spec-0.2.10 lib/assets/javascripts/opal/spec/scratch_pad.rb
opal-spec-0.2.9 lib/assets/javascripts/opal/spec/scratch_pad.rb
opal-spec-0.2.8 lib/assets/javascripts/opal/spec/scratch_pad.rb
opal-spec-0.2.7 lib/assets/javascripts/opal/spec/scratch_pad.rb
strand-0.2.0.rc0 spec/support/scratch.rb
rhodes-3.5.1.12 lib/extensions/mspec/mspec/helpers/scratch.rb
rhodes-3.3.5 lib/extensions/mspec/mspec/helpers/scratch.rb
rhodes-3.4.2 lib/extensions/mspec/mspec/helpers/scratch.rb
rhodes-3.3.4 lib/extensions/mspec/mspec/helpers/scratch.rb