Class: Solargraph::Pin::Keyword
- Defined in:
- lib/solargraph/pin/keyword.rb
Instance Attribute Summary
Attributes inherited from Base
#code_object, #location, #path, #return_type
Attributes included from Common
Instance Method Summary collapse
-
#initialize(name) ⇒ Keyword
constructor
A new instance of Keyword.
- #name ⇒ Object
Methods inherited from Base
#==, #comments, #completion_item_kind, #deprecated?, #directives, #docstring, #filename, #identity, #infer, #inspect, #macros, #maybe_directives?, #nearly?, #probe, #probed?, #proxied?, #proxy, #realize, #symbol_kind, #to_s, #try_merge!, #typify, #variable?
Methods included from Documenting
Methods included from Conversions
#completion_item, #detail, #link_documentation, #reset_conversions, #resolve_completion_item, #signature_help, #text_documentation
Methods included from Common
#binder, #comments, #context, #namespace, #path, #return_type
Constructor Details
#initialize(name) ⇒ Keyword
Returns a new instance of Keyword.
6 7 8 |
# File 'lib/solargraph/pin/keyword.rb', line 6 def initialize name super(name: name) end |
Instance Method Details
#name ⇒ Object
10 11 12 |
# File 'lib/solargraph/pin/keyword.rb', line 10 def name @name end |