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.
181 182 183 |
# File 'lib/kapusta/ast.rb', line 181 def initialize(form) @form = form end |
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column.
179 180 181 |
# File 'lib/kapusta/ast.rb', line 179 def column @column end |
#form ⇒ Object (readonly)
Returns the value of attribute form.
178 179 180 |
# File 'lib/kapusta/ast.rb', line 178 def form @form end |
#line ⇒ Object
Returns the value of attribute line.
179 180 181 |
# File 'lib/kapusta/ast.rb', line 179 def line @line end |
Instance Method Details
#inspect ⇒ Object
185 186 187 |
# File 'lib/kapusta/ast.rb', line 185 def inspect ",#{@form.inspect}" end |