Class: Rbexy::Nodes::Expression
- Inherits:
-
Object
- Object
- Rbexy::Nodes::Expression
- Defined in:
- lib/rbexy/nodes.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
- #compile ⇒ Object
-
#initialize(content) ⇒ Expression
constructor
A new instance of Expression.
Constructor Details
#initialize(content) ⇒ Expression
Returns a new instance of Expression.
52 53 54 |
# File 'lib/rbexy/nodes.rb', line 52 def initialize(content) @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
50 51 52 |
# File 'lib/rbexy/nodes.rb', line 50 def content @content end |
Instance Method Details
#compile ⇒ Object
56 57 58 |
# File 'lib/rbexy/nodes.rb', line 56 def compile content end |