Class: Sass::Tree::ValueNode
- Defined in:
- lib/gems/haml-2.0.4/lib/sass/css.rb,
lib/gems/haml-2.0.4/lib/sass/tree/value_node.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(value, style) ⇒ ValueNode
constructor
A new instance of ValueNode.
- #to_s(tabs = 0) ⇒ Object
- #to_sass(tabs, opts = {}) ⇒ Object
Methods inherited from Node
Constructor Details
#initialize(value, style) ⇒ ValueNode
Returns a new instance of ValueNode.
7 8 9 10 |
# File 'lib/gems/haml-2.0.4/lib/sass/tree/value_node.rb', line 7 def initialize(value, style) @value = value super(style) end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
5 6 7 |
# File 'lib/gems/haml-2.0.4/lib/sass/tree/value_node.rb', line 5 def value @value end |