Sha256: e1998d317b9025c45d326a0197bf7e6fe6018283d64aac090d239c6f13b30fb7

Contents?: true

Size: 230 Bytes

Versions: 14

Compression:

Stored size: 230 Bytes

Contents

module Mock
  module Params
    def self.included(base)
      base.before_process :filter_post_string
    end

    def filter_post_string
      if str = @params.delete(:post_string)
        out_post str
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
zafu-0.7.9 test/mock/params.rb
zafu-0.7.8 test/mock/params.rb
zafu-0.7.7 test/mock/params.rb
zafu-0.7.6 test/mock/params.rb
zafu-0.7.5 test/mock/params.rb
zafu-0.7.4 test/mock/params.rb
zafu-0.7.3 test/mock/params.rb
zafu-0.7.2 test/mock/params.rb
zafu-0.7.1 test/mock/params.rb
zafu-0.7.0 test/mock/params.rb
zafu-0.6.3 test/mock/params.rb
zafu-0.6.2 test/mock/params.rb
zafu-0.6.1 test/mock/params.rb
zafu-0.6.0 test/mock/params.rb