Class: TF2LineParser::Parser
- Inherits:
-
Object
- Object
- TF2LineParser::Parser
- Defined in:
- lib/tf2_line_parser/parser.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(line) ⇒ Parser
constructor
A new instance of Parser.
- #parse ⇒ Object
Constructor Details
Instance Attribute Details
#line ⇒ Object
Returns the value of attribute line.
5 6 7 |
# File 'lib/tf2_line_parser/parser.rb', line 5 def line @line end |
Instance Method Details
#parse ⇒ Object
11 12 13 |
# File 'lib/tf2_line_parser/parser.rb', line 11 def parse line.parse end |