Sha256: c1e9e9608447af51a57e858f052a7830ed7091f6190f9683b26f4756ee8c8e47
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
require 'appraisal/utils' module Appraisal class Gemspec attr_reader :options def initialize(options = {}) @options = options @options[:path] ||= '.' end def to_s "gemspec #{Utils.format_string(exported_options)}" end # :nodoc: def for_dup "gemspec #{Utils.format_string(@options)}" end private def exported_options @options.merge( path: Utils.prefix_path(@options[:path]) ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appraisal-1.0.3 | lib/appraisal/gemspec.rb |