Class: Gemgate::QuickMarshalSpecs::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/gemgate/quick_marshal_specs.rb

Instance Method Summary collapse

Constructor Details

#initialize(gem) ⇒ Entry

Returns a new instance of Entry.



4
5
6
# File 'lib/gemgate/quick_marshal_specs.rb', line 4

def initialize(gem)
  @gem = gem
end

Instance Method Details

#filenameObject



8
9
10
# File 'lib/gemgate/quick_marshal_specs.rb', line 8

def filename
  "quick/Marshal.4.8/#{@gem.spec_filename}.rz"
end

#specObject



12
13
14
# File 'lib/gemgate/quick_marshal_specs.rb', line 12

def spec
  @gem.spec
end