File: response.rb

package info (click to toggle)
ruby-fakeweb 1.3.0%2Bgit20170806%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 464 kB
  • sloc: ruby: 2,058; sh: 24; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 140 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
module FakeWeb
  module Response #:nodoc:

    def read_body(*args, &block)
      yield @body if block_given?
      @body
    end

  end
end