Class: Solargraph::Convention::Gemfile
- Defined in:
- lib/solargraph/convention/gemfile.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Instance Method Details
#environ ⇒ Object
10 11 12 13 14 15 |
# File 'lib/solargraph/convention/gemfile.rb', line 10 def environ @environ ||= Environ.new( requires: ['bundler'], domains: ['Bundler::Dsl'] ) end |
#match?(source) ⇒ Boolean
6 7 8 |
# File 'lib/solargraph/convention/gemfile.rb', line 6 def match? source File.basename(source.filename) == 'Gemfile' end |