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.



194
195
196
# File 'lib/kapusta/ast.rb', line 194

def initialize(form)
  @form = form
end

Instance Attribute Details

#columnObject

Returns the value of attribute column.



192
193
194
# File 'lib/kapusta/ast.rb', line 192

def column
  @column
end

#formObject (readonly)

Returns the value of attribute form.



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

def form
  @form
end

#lineObject

Returns the value of attribute line.



192
193
194
# File 'lib/kapusta/ast.rb', line 192

def line
  @line
end

Instance Method Details

#inspectObject



198
199
200
# File 'lib/kapusta/ast.rb', line 198

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