Class: HParser::Util::Skip
- Inherits:
-
Object
- Object
- HParser::Util::Skip
- Defined in:
- lib/hparser/util/parser.rb
Instance Method Summary collapse
-
#initialize(parser) ⇒ Skip
constructor
A new instance of Skip.
- #parse(*args) ⇒ Object
Constructor Details
#initialize(parser) ⇒ Skip
Returns a new instance of Skip.
18 19 20 |
# File 'lib/hparser/util/parser.rb', line 18 def initialize(parser) @parser = parser end |
Instance Method Details
#parse(*args) ⇒ Object
22 23 24 25 |
# File 'lib/hparser/util/parser.rb', line 22 def parse(*args) @parser.parse(*args) true end |