Class: MilkTea::AST::LinkDirective
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::LinkDirective
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value:, line: nil, column: nil) ⇒ LinkDirective
constructor
A new instance of LinkDirective.
Constructor Details
#initialize(value:, line: nil, column: nil) ⇒ LinkDirective
Returns a new instance of LinkDirective.
64 |
# File 'lib/milk_tea/core/ast.rb', line 64 def initialize(value:, line: nil, column: nil) = super |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
63 64 65 |
# File 'lib/milk_tea/core/ast.rb', line 63 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
63 64 65 |
# File 'lib/milk_tea/core/ast.rb', line 63 def line @line end |
#value ⇒ Object (readonly)
Returns the value of attribute value
63 64 65 |
# File 'lib/milk_tea/core/ast.rb', line 63 def value @value end |