Class: Bundler::Source::Gemspec
- Defined in:
- lib/bundler/source/gemspec.rb
Constant Summary
Constants inherited from Path
Instance Attribute Summary collapse
-
#checksum_store ⇒ Object
writeonly
Sets the attribute checksum_store.
-
#gemspec ⇒ Object
readonly
Returns the value of attribute gemspec.
Attributes inherited from Path
#name, #options, #path, #root_path, #version
Instance Method Summary collapse
-
#initialize(options) ⇒ Gemspec
constructor
A new instance of Gemspec.
- #to_s ⇒ Object
Methods inherited from Path
#app_cache_dirname, #cache, #eql?, #expanded_original_path, from_lock, #hash, #install, #local_specs, #root, #specs, #to_lock
Constructor Details
#initialize(options) ⇒ Gemspec
Returns a new instance of Gemspec.
9 10 11 12 |
# File 'lib/bundler/source/gemspec.rb', line 9 def initialize() super @gemspec = ["gemspec"] end |
Instance Attribute Details
#checksum_store=(value) ⇒ Object (writeonly)
Sets the attribute checksum_store
7 8 9 |
# File 'lib/bundler/source/gemspec.rb', line 7 def checksum_store=(value) @checksum_store = value end |
#gemspec ⇒ Object (readonly)
Returns the value of attribute gemspec.
6 7 8 |
# File 'lib/bundler/source/gemspec.rb', line 6 def gemspec @gemspec end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/bundler/source/gemspec.rb', line 14 def to_s "gemspec at `#{@path}`" end |