Class: Kapusta::Unquote

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(form) ⇒ Unquote

Returns a new instance of Unquote.



173
174
175
# File 'lib/kapusta/ast.rb', line 173

def initialize(form)
  @form = form
end

Instance Attribute Details

#columnObject

Returns the value of attribute column.



171
172
173
# File 'lib/kapusta/ast.rb', line 171

def column
  @column
end

#formObject (readonly)

Returns the value of attribute form.



170
171
172
# File 'lib/kapusta/ast.rb', line 170

def form
  @form
end

#lineObject

Returns the value of attribute line.



171
172
173
# File 'lib/kapusta/ast.rb', line 171

def line
  @line
end

Instance Method Details

#inspectObject



177
178
179
# File 'lib/kapusta/ast.rb', line 177

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