Class: Gamefic::Match

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argument, token, strictness) ⇒ Match

Returns a new instance of Match.

Parameters:

  • argument (Object)
  • token (Object)
  • strictness (Integer)


17
18
19
20
21
# File 'lib/gamefic/match.rb', line 17

def initialize(argument, token, strictness)
  @argument = argument
  @token = token
  @strictness = strictness
end

Instance Attribute Details

#argumentObject (readonly)

Returns:

  • (Object)


6
7
8
# File 'lib/gamefic/match.rb', line 6

def argument
  @argument
end

#strictnessInteger (readonly)

Returns:

  • (Integer)


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

def strictness
  @strictness
end

#tokenObject (readonly)

Returns:

  • (Object)


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

def token
  @token
end