Sha256: 9ed893682c64f8e7ed51c2810307663ff95dc19600d894b367003ac592a9927d
Contents?: true
Size: 488 Bytes
Versions: 13
Compression:
Stored size: 488 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
13 entries across 13 versions & 3 rubygems