Class: Rbexy::Nodes::Expression

Inherits:
Object
  • Object
show all
Defined in:
lib/rbexy/nodes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject (readonly)

Returns the value of attribute content.



50
51
52
# File 'lib/rbexy/nodes.rb', line 50

def content
  @content
end

Instance Method Details

#compileObject



56
57
58
# File 'lib/rbexy/nodes.rb', line 56

def compile
  content
end