Sha256: 3e042a27d21a188cd8302d4bcc61f32165f43e58f1c46cb83b31bc4c200127b7
Contents?: true
Size: 438 Bytes
Versions: 11
Compression:
Stored size: 438 Bytes
Contents
module Latest class Rubinius SOURCE = 'http://asset.rubini.us/' AVAILABLE_EXTS = ['.tar.gz'] attr_reader :source def initialize(retriever) @retriever = retriever @source = SOURCE end def version @version ||= @retriever.retrieve(self) end def link(ext = '.tar.gz') if AVAILABLE_EXTS.include?(ext) source + 'rubinius-' + version.to_s + ext end end end end
Version data entries
11 entries across 11 versions & 1 rubygems