Class: Gamefic::Match
- Inherits:
-
Object
- Object
- Gamefic::Match
- Defined in:
- lib/gamefic/match.rb
Instance Attribute Summary collapse
- #argument ⇒ Object readonly
- #strictness ⇒ Integer readonly
- #token ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(argument, token, strictness) ⇒ Match
constructor
A new instance of Match.
Constructor Details
#initialize(argument, token, strictness) ⇒ Match
Returns a new instance of Match.
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
#argument ⇒ Object (readonly)
6 7 8 |
# File 'lib/gamefic/match.rb', line 6 def argument @argument end |
#strictness ⇒ Integer (readonly)
12 13 14 |
# File 'lib/gamefic/match.rb', line 12 def strictness @strictness end |
#token ⇒ Object (readonly)
9 10 11 |
# File 'lib/gamefic/match.rb', line 9 def token @token end |