Class: Rubycc::Doctor::Gemfile::Entry
- Inherits:
-
Struct
- Object
- Struct
- Rubycc::Doctor::Gemfile::Entry
- Defined in:
- lib/rubycc/doctor/gemfile.rb
Overview
One resolved gem: its name, version (nil when unknown), the names of its direct runtime dependencies (from the lock; empty otherwise) and the source section it came from (:gem for rubygems.org, :path/:git for local or VCS gems that cannot be fetched from rubygems.org).
Instance Attribute Summary collapse
-
#dependencies ⇒ Object
Returns the value of attribute dependencies.
-
#name ⇒ Object
Returns the value of attribute name.
-
#source ⇒ Object
Returns the value of attribute source.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Attribute Details
#dependencies ⇒ Object
Returns the value of attribute dependencies
23 24 25 |
# File 'lib/rubycc/doctor/gemfile.rb', line 23 def dependencies @dependencies end |
#name ⇒ Object
Returns the value of attribute name
23 24 25 |
# File 'lib/rubycc/doctor/gemfile.rb', line 23 def name @name end |
#source ⇒ Object
Returns the value of attribute source
23 24 25 |
# File 'lib/rubycc/doctor/gemfile.rb', line 23 def source @source end |
#version ⇒ Object
Returns the value of attribute version
23 24 25 |
# File 'lib/rubycc/doctor/gemfile.rb', line 23 def version @version end |