Class: Solargraph::Convention::Base
- Inherits:
-
Object
- Object
- Solargraph::Convention::Base
- Defined in:
- lib/solargraph/convention/base.rb
Constant Summary collapse
Instance Method Summary collapse
-
#environ ⇒ Environ
The Environ for this convention.
-
#match?(source) ⇒ Boolean
True if the source qualifies for this convention.
Instance Method Details
#environ ⇒ Environ
The Environ for this convention. Subclasses should override this method.
20 21 22 |
# File 'lib/solargraph/convention/base.rb', line 20 def environ EMPTY_ENVIRON end |
#match?(source) ⇒ Boolean
True if the source qualifies for this convention. Subclasses should override this method.
12 13 14 |
# File 'lib/solargraph/convention/base.rb', line 12 def match? source false end |