Sha256: a27548de835023493f696c45c255505bb25b705d62e9181917f226827bb51d5d

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

module Assert
  class ResultSet < ::Array

    attr_accessor :view

    def <<(result)
      super
      if @view && @view.respond_to?(:print_runtime_result)
        @view.print_runtime_result(result)
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
assert-0.1.0 lib/assert/result_set.rb