Class: RubyLexer::ShebangToken

Inherits:
IgnoreToken show all
Defined in:
lib/rubylexer/token.rb

Overview


Instance Attribute Summary

Attributes inherited from IgnoreToken

#linecount

Attributes inherited from Token

#allow_ooo_offset, #as, #endline, #ident, #offset, #startline, #tag

Instance Method Summary collapse

Methods inherited from IgnoreToken

#ws_munge

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