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
mocha-0.12.4 lib/mocha/change_state_side_effect.rb
challah-rolls-0.1.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/change_state_side_effect.rb
challah-rolls-0.1.0 vendor/bundle/gems/mocha-0.12.3/lib/mocha/change_state_side_effect.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/mocha-0.12.2/lib/mocha/change_state_side_effect.rb
challah-0.8.0.pre vendor/bundle/gems/mocha-0.12.2/lib/mocha/change_state_side_effect.rb
challah-0.7.1 vendor/bundle/gems/mocha-0.12.2/lib/mocha/change_state_side_effect.rb
challah-0.7.0 vendor/bundle/gems/mocha-0.12.2/lib/mocha/change_state_side_effect.rb
challah-0.7.0.pre2 vendor/bundle/gems/mocha-0.12.2/lib/mocha/change_state_side_effect.rb
mocha-0.12.3 lib/mocha/change_state_side_effect.rb
challah-0.7.0.pre vendor/bundle/gems/mocha-0.12.2/lib/mocha/change_state_side_effect.rb
mocha-0.12.2 lib/mocha/change_state_side_effect.rb
mocha-0.12.1 lib/mocha/change_state_side_effect.rb
mocha-0.12.0 lib/mocha/change_state_side_effect.rb
challah-0.6.2 vendor/bundle/gems/mocha-0.11.4/lib/mocha/change_state_side_effect.rb
challah-0.6.1 vendor/bundle/gems/mocha-0.11.4/lib/mocha/change_state_side_effect.rb
challah-0.6.0 vendor/bundle/gems/mocha-0.11.4/lib/mocha/change_state_side_effect.rb
mocha-0.11.4 lib/mocha/change_state_side_effect.rb
mocha-0.11.3 lib/mocha/change_state_side_effect.rb
mocha-0.11.2 lib/mocha/change_state_side_effect.rb
mocha-0.11.1 lib/mocha/change_state_side_effect.rb