Class: VueCompiler::Token::Interpolation
- Inherits:
-
Object
- Object
- VueCompiler::Token::Interpolation
- Defined in:
- lib/vue_component_compiler/token.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
Instance Method Summary collapse
-
#initialize(expression) ⇒ Interpolation
constructor
A new instance of Interpolation.
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
#expression ⇒ Object (readonly)
Returns the value of attribute expression.
67 68 69 |
# File 'lib/vue_component_compiler/token.rb', line 67 def expression @expression end |