Sha256: 5e1e77fa9206045367868dc7af4e24b03902ddd6116b67aa6b2009eb4c614d40
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
module Appraisal class Platform < Gemfile def initialize(platform_names) super() @platform_names = platform_names end def run(&block) instance_exec(&block) end def to_s "platforms #{@platform_names.map(&:inspect).join(', ')} do\n" + super.strip.gsub(/^/, ' ') + "\nend" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appraisal-1.0.0.beta3 | lib/appraisal/platform.rb |