Class: Appraisal::Source

Inherits:
BundlerDSL show all
Defined in:
lib/appraisal/source.rb

Constant Summary

Constants inherited from BundlerDSL

BundlerDSL::PARTS

Instance Attribute Summary

Attributes inherited from BundlerDSL

#dependencies

Instance Method Summary collapse

Methods inherited from BundlerDSL

#gem, #gemspec, #git, #git_source, #group, #install_if, #path, #platforms, #remove_gem, #ruby, #run, #source

Constructor Details

#initialize(source) ⇒ Source

Returns a new instance of Source.



8
9
10
11
# File 'lib/appraisal/source.rb', line 8

def initialize(source)
  super()
  @source = source
end

Instance Method Details

#for_dupObject

:nodoc:



18
19
20
# File 'lib/appraisal/source.rb', line 18

def for_dup
  formatted_output indent(super)
end

#to_sObject



13
14
15
# File 'lib/appraisal/source.rb', line 13

def to_s
  formatted_output indent(super)
end