Class: JRuby::Lint::Libraries
- Inherits:
-
Object
- Object
- JRuby::Lint::Libraries
- Defined in:
- lib/jruby/lint/libraries.rb
Defined Under Namespace
Classes: CExtensions, Cache
Constant Summary collapse
- SOURCES =
[CExtensions]
Instance Attribute Summary collapse
-
#gems ⇒ Object
readonly
Returns the value of attribute gems.
Instance Method Summary collapse
-
#initialize(cache) ⇒ Libraries
constructor
A new instance of Libraries.
- #load ⇒ Object
Constructor Details
Instance Attribute Details
#gems ⇒ Object (readonly)
Returns the value of attribute gems.
88 89 90 |
# File 'lib/jruby/lint/libraries.rb', line 88 def gems @gems end |
Instance Method Details
#load ⇒ Object
94 95 96 97 98 99 100 101 |
# File 'lib/jruby/lint/libraries.rb', line 94 def load @gems = {}.tap do |gems| @sources.each do |s| s.load gems.update(s.gems) end end end |