Class: Kapusta::Quasiquote
- Inherits:
-
Object
- Object
- Kapusta::Quasiquote
- Defined in:
- lib/kapusta/ast.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#form ⇒ Object
readonly
Returns the value of attribute form.
-
#line ⇒ Object
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(form) ⇒ Quasiquote
constructor
A new instance of Quasiquote.
- #inspect ⇒ Object
Constructor Details
#initialize(form) ⇒ Quasiquote
Returns a new instance of Quasiquote.
168 169 170 |
# File 'lib/kapusta/ast.rb', line 168 def initialize(form) @form = form end |
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column.
166 167 168 |
# File 'lib/kapusta/ast.rb', line 166 def column @column end |
#form ⇒ Object (readonly)
Returns the value of attribute form.
165 166 167 |
# File 'lib/kapusta/ast.rb', line 165 def form @form end |
#line ⇒ Object
Returns the value of attribute line.
166 167 168 |
# File 'lib/kapusta/ast.rb', line 166 def line @line end |
Instance Method Details
#inspect ⇒ Object
172 173 174 |
# File 'lib/kapusta/ast.rb', line 172 def inspect "`#{@form.inspect}" end |