Sha256: 249f48c7ab6581fc8768d45245839dc1b7e26abb88b9c3fdc69f1293b8a7ff5a

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

module Redpen
  class Result
    attr_reader :messages

    # @param out [String] stdout
    # @param _err [String] stderr
    # @param _status [Process::Status]
    def initialize(out, _err, _status)
      @messages = out.split("\n")
    end

    def valid?
      messages.empty?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redpen-0.2.0 lib/redpen/result.rb