class Rattler::Parsers::ESymbol
ESymbol
always succeeds without advancing.
Public Class Methods
[]()
click to toggle source
Return the singleton instance of ESymbol
@return [ESymbol] the singleton instance
# File lib/rattler/parsers/e_symbol.rb, line 14 def self.[]() self.instance end
Public Instance Methods
capturing?()
click to toggle source
(see Parser#capturing?
)
# File lib/rattler/parsers/e_symbol.rb, line 33 def capturing? false end
parse(*_)
click to toggle source
Return true
without advancing
@param (see Match#parse
)
@return [Boolean] true
# File lib/rattler/parsers/e_symbol.rb, line 28 def parse(*_) true end