class Solargraph::Convention::Base
The base class for Conventions.
A Convention provides Environs that customize ApiMaps with additional pins and other information. Subclasses should implement the `local` and `global` methods as necessary.
Constants
- EMPTY_ENVIRON
Public Instance Methods
global(yard_map)
click to toggle source
local(source_map)
click to toggle source
The Environ for a source map. Subclasses can override this method.
@param source_map [SourceMap] @return [Environ]
# File lib/solargraph/convention/base.rb, line 18 def local source_map EMPTY_ENVIRON end