class Solargraph::Pin::Reference::Override
Attributes
delete[R]
@return [Array<Symbol>]
Public Class Methods
from_comment(name, comment)
click to toggle source
# File lib/solargraph/pin/reference/override.rb, line 22 def self.from_comment name, comment new(nil, name, Solargraph::Source.parse_docstring(comment).to_docstring.tags) end
method_return(name, *tags, delete: [])
click to toggle source
# File lib/solargraph/pin/reference/override.rb, line 18 def self.method_return name, *tags, delete: [] new(nil, name, [YARD::Tags::Tag.new('return', nil, tags)], delete) end
new(location, name, tags, delete = [])
click to toggle source
Calls superclass method
Solargraph::Pin::Base.new
# File lib/solargraph/pin/reference/override.rb, line 12 def initialize location, name, tags, delete = [] super(location: location, name: name) @tags = tags @delete = delete end