Class: Kapusta::Unquote
- Inherits:
-
Object
- Object
- Kapusta::Unquote
- 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) ⇒ Unquote
constructor
A new instance of Unquote.
- #inspect ⇒ Object
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
#column ⇒ Object
Returns the value of attribute column.
171 172 173 |
# File 'lib/kapusta/ast.rb', line 171 def column @column end |
#form ⇒ Object (readonly)
Returns the value of attribute form.
170 171 172 |
# File 'lib/kapusta/ast.rb', line 170 def form @form end |
#line ⇒ Object
Returns the value of attribute line.
171 172 173 |
# File 'lib/kapusta/ast.rb', line 171 def line @line end |
Instance Method Details
#inspect ⇒ Object
177 178 179 |
# File 'lib/kapusta/ast.rb', line 177 def inspect ",#{@form.inspect}" end |