Method: SyntaxTree::ARef#initialize
- Defined in:
- lib/syntax_tree.rb
#initialize(collection:, index:, location:, comments: []) ⇒ ARef
Returns a new instance of ARef.
855 856 857 858 859 860 |
# File 'lib/syntax_tree.rb', line 855 def initialize(collection:, index:, location:, comments: []) @collection = collection @index = index @location = location @comments = comments end |