Method: SyntaxTree::Assoc#initialize
- Defined in:
- lib/syntax_tree.rb
#initialize(key:, value:, location:, comments: []) ⇒ Assoc
Returns a new instance of Assoc.
1887 1888 1889 1890 1891 1892 |
# File 'lib/syntax_tree.rb', line 1887 def initialize(key:, value:, location:, comments: []) @key = key @value = value @location = location @comments = comments end |