Class: VueCompiler::Token::Interpolation

Inherits:
Object
  • Object
show all
Defined in:
lib/vue_component_compiler/token.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(expression) ⇒ Interpolation

Returns a new instance of Interpolation.



69
70
71
# File 'lib/vue_component_compiler/token.rb', line 69

def initialize(expression)
  @expression = expression
end

Instance Attribute Details

#expressionObject (readonly)

Returns the value of attribute expression.



67
68
69
# File 'lib/vue_component_compiler/token.rb', line 67

def expression
  @expression
end