Sha256: 4c252e9eca9fd878b6277a27609d879841d7efbe620d746efd30e5add2f2176d
Contents?: true
Size: 355 Bytes
Versions: 14
Compression:
Stored size: 355 Bytes
Contents
require 'appraisal/file' class Adapter attr_reader :name def initialize(name) @name = name end def appraisal_name parts = [] parts << 'ruby_19' parts << name parts.join('_') end def appraisal @appraisal ||= Appraisal::File.new.appraisals.find do |appraisal| appraisal.name == appraisal_name end end end
Version data entries
14 entries across 14 versions & 1 rubygems