Sha256: 26cd384833814ef86d2463b2982f32ff474d37f2fbcc08f4e571d4c8dfec2995

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

require_relative 'result'

module Defi
  # Returned when a challenge is won.
  #
  # @api private
  #
  class Victory < Result
    # The state of the result.
    #
    # @api private
    #
    # @return [Boolean] The value of the state.
    def valid?
      true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
defi-0.1.0 lib/defi/victory.rb