Class: Kapusta::UnquoteSplice

Inherits:
Object
  • Object
show all
Defined in:
lib/kapusta/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(form) ⇒ UnquoteSplice

Returns a new instance of UnquoteSplice.



186
187
188
# File 'lib/kapusta/ast.rb', line 186

def initialize(form)
  @form = form
end

Instance Attribute Details

#columnObject

Returns the value of attribute column.



184
185
186
# File 'lib/kapusta/ast.rb', line 184

def column
  @column
end

#formObject (readonly)

Returns the value of attribute form.



183
184
185
# File 'lib/kapusta/ast.rb', line 183

def form
  @form
end

#lineObject

Returns the value of attribute line.



184
185
186
# File 'lib/kapusta/ast.rb', line 184

def line
  @line
end

Instance Method Details

#inspectObject



190
191
192
# File 'lib/kapusta/ast.rb', line 190

def inspect
  ",@#{@form.inspect}"
end