Class: RubyLexer::ShebangToken
- Inherits:
-
IgnoreToken
- Object
- Token
- IgnoreToken
- RubyLexer::ShebangToken
- Defined in:
- lib/rubylexer/token.rb
Overview
Instance Attribute Summary
Attributes inherited from IgnoreToken
Attributes inherited from Token
#allow_ooo_offset, #as, #endline, #ident, #offset, #startline, #tag
Instance Method Summary collapse
-
#initialize(text) ⇒ ShebangToken
constructor
A new instance of ShebangToken.
Methods inherited from IgnoreToken
Methods inherited from Token
#dump, #error, #has_no_block?, #inspect, #linecount, #orig_inspect, #to_s, #ws_munge
Constructor Details
#initialize(text) ⇒ ShebangToken
Returns a new instance of ShebangToken.
602 603 604 |
# File 'lib/rubylexer/token.rb', line 602 def initialize(text) super text,0 end |