Class: Gamefic::Query::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/gamefic/query/result.rb

Overview

The result of a query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(match, remainder) ⇒ Result

Returns a new instance of Result.



14
15
16
17
# File 'lib/gamefic/query/result.rb', line 14

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

Instance Attribute Details

#matchEntity, ... (readonly)

Returns:



9
10
11
# File 'lib/gamefic/query/result.rb', line 9

def match
  @match
end

#remainderString (readonly)

Returns:



12
13
14
# File 'lib/gamefic/query/result.rb', line 12

def remainder
  @remainder
end