Class: CSSPool::Terms::Ident
Instance Attribute Summary collapse
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#parse_location ⇒ Object
Returns the value of attribute parse_location.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, operator = nil, parse_location = {}) ⇒ Ident
constructor
A new instance of Ident.
Methods inherited from Node
#==, #accept, #children, #each, #hash, #to_css, #to_minified_css
Constructor Details
#initialize(value, operator = nil, parse_location = {}) ⇒ Ident
Returns a new instance of Ident.
8 9 10 11 12 |
# File 'lib/csspool/terms/ident.rb', line 8 def initialize value, operator = nil, parse_location = {} @value = value @operator = operator @parse_location = parse_location end |
Instance Attribute Details
#operator ⇒ Object
Returns the value of attribute operator.
5 6 7 |
# File 'lib/csspool/terms/ident.rb', line 5 def operator @operator end |
#parse_location ⇒ Object
Returns the value of attribute parse_location.
6 7 8 |
# File 'lib/csspool/terms/ident.rb', line 6 def parse_location @parse_location end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/csspool/terms/ident.rb', line 4 def value @value end |