Class: CSSPool::SAC::Parser
- Inherits:
-
Object
- Object
- CSSPool::SAC::Parser
- Defined in:
- lib/csspool/sac/parser.rb
Instance Attribute Summary collapse
-
#document ⇒ Object
Returns the value of attribute document.
Instance Method Summary collapse
-
#initialize(document = CSSPool::SAC::Document.new) ⇒ Parser
constructor
A new instance of Parser.
- #parse(string) ⇒ Object
Constructor Details
Instance Attribute Details
#document ⇒ Object
Returns the value of attribute document.
4 5 6 |
# File 'lib/csspool/sac/parser.rb', line 4 def document @document end |
Instance Method Details
#parse(string) ⇒ Object
11 12 13 |
# File 'lib/csspool/sac/parser.rb', line 11 def parse string parse_memory(string, 5) end |