Sha256: 7148e7820c3abeec65f917676202d2ca4c77ef5c3d2ca7bf582ae1904a41a2fc

Contents?: true

Size: 387 Bytes

Versions: 6

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

module Gamefic
  module Query
    # The result of a query.
    #
    class Result
      # @return [Entity, Array<Entity>, String, nil]
      attr_reader :match

      # @return [String]
      attr_reader :remainder

      def initialize match, remainder
        @match = match
        @remainder = remainder
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gamefic-3.4.0 lib/gamefic/query/result.rb
gamefic-3.3.0 lib/gamefic/query/result.rb
gamefic-3.2.1 lib/gamefic/query/result.rb
gamefic-3.2.0 lib/gamefic/query/result.rb
gamefic-3.1.0 lib/gamefic/query/result.rb
gamefic-3.0.0 lib/gamefic/query/result.rb