Class: CSSPool::CSS::Charset
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#parse_location ⇒ Object
Returns the value of attribute parse_location.
Instance Method Summary collapse
-
#initialize(name, parse_location) ⇒ Charset
constructor
A new instance of Charset.
Methods inherited from Node
#==, #accept, #children, #each, #hash, #to_css, #to_minified_css
Constructor Details
#initialize(name, parse_location) ⇒ Charset
Returns a new instance of Charset.
7 8 9 10 |
# File 'lib/csspool/css/charset.rb', line 7 def initialize name, parse_location @name = name @parse_location = parse_location end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/csspool/css/charset.rb', line 4 def name @name end |
#parse_location ⇒ Object
Returns the value of attribute parse_location.
5 6 7 |
# File 'lib/csspool/css/charset.rb', line 5 def parse_location @parse_location end |