Class: Rubycc::Doctor::Gemfile::Entry

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#dependenciesObject

Returns the value of attribute dependencies

Returns:

  • (Object)

    the current value of dependencies



23
24
25
# File 'lib/rubycc/doctor/gemfile.rb', line 23

def dependencies
  @dependencies
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



23
24
25
# File 'lib/rubycc/doctor/gemfile.rb', line 23

def name
  @name
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



23
24
25
# File 'lib/rubycc/doctor/gemfile.rb', line 23

def source
  @source
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



23
24
25
# File 'lib/rubycc/doctor/gemfile.rb', line 23

def version
  @version
end