Sha256: 03ab494641c6dd98f84730bfba18a11fe6604a4121b2115edbdc1e40c82fcb4a

Contents?: true

Size: 227 Bytes

Versions: 61

Compression:

Stored size: 227 Bytes

Contents

module Mocha

  class ChangeStateSideEffect

    def initialize(state)
      @state = state
    end

    def perform
      @state.activate
    end

    def mocha_inspect
      "then #{@state.mocha_inspect}"
    end

  end

end

Version data entries

61 entries across 50 versions & 5 rubygems

Version Path
challah-1.0.0.beta vendor/bundle/gems/mocha-0.13.3/lib/mocha/change_state_side_effect.rb
mocha-0.13.3 lib/mocha/change_state_side_effect.rb
mocha-0.12.10 lib/mocha/change_state_side_effect.rb
mocha-0.12.9 lib/mocha/change_state_side_effect.rb
mocha-0.13.2 lib/mocha/change_state_side_effect.rb
mocha-0.12.8 lib/mocha/change_state_side_effect.rb
mocha-0.13.1 lib/mocha/change_state_side_effect.rb
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.12.3/lib/mocha/change_state_side_effect.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/mocha-0.12.2/lib/mocha/change_state_side_effect.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/mocha-0.12.3/lib/mocha/change_state_side_effect.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/mocha-0.13.0/lib/mocha/change_state_side_effect.rb
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/change_state_side_effect.rb
challah-rolls-0.2.0 vendor/bundle/gems/mocha-0.13.0/lib/mocha/change_state_side_effect.rb
challah-0.8.3 vendor/bundle/gems/mocha-0.12.3/lib/mocha/change_state_side_effect.rb
challah-0.8.3 vendor/bundle/gems/mocha-0.13.0/lib/mocha/change_state_side_effect.rb
mocha-0.13.0 lib/mocha/change_state_side_effect.rb
mocha-0.12.7 lib/mocha/change_state_side_effect.rb
mocha-0.12.6 lib/mocha/change_state_side_effect.rb
mocha-0.12.5 lib/mocha/change_state_side_effect.rb
challah-0.8.1 vendor/bundle/gems/mocha-0.12.3/lib/mocha/change_state_side_effect.rb