Class: RSAC::DelimiterToken
- Defined in:
- lib/antisamy/csspool/rsac/sac/token.rb
Instance Attribute Summary
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize(value, position) ⇒ DelimiterToken
constructor
A new instance of DelimiterToken.
- #to_racc_token ⇒ Object
Constructor Details
#initialize(value, position) ⇒ DelimiterToken
Returns a new instance of DelimiterToken.
17 18 19 |
# File 'lib/antisamy/csspool/rsac/sac/token.rb', line 17 def initialize(value, position) super(:delim, value, position) end |
Instance Method Details
#to_racc_token ⇒ Object
21 22 23 |
# File 'lib/antisamy/csspool/rsac/sac/token.rb', line 21 def to_racc_token [value, value] end |