Sha256: 0af854c311fbd310dd949209720210251c4c8a4543ff863d9c89311511756afd

Contents?: true

Size: 230 Bytes

Versions: 3

Compression:

Stored size: 230 Bytes

Contents

module Irrc
  module QueryStatus
    def fail
      @failed = true
    end

    def success
      @failed = false
    end

    def failed?
      @failed == true
    end

    def succeeded?
      @failed == false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
irrc-0.2.2 lib/irrc/query_status.rb
irrc-0.2.1 lib/irrc/query_status.rb
irrc-0.2.0 lib/irrc/query_status.rb