Class: Appraisal::Platform

Inherits:
BundlerDSL show all
Defined in:
lib/appraisal/platform.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, #path, #platforms, #ruby, #run, #source

Constructor Details

#initialize(platform_names) ⇒ Platform

Returns a new instance of Platform


6
7
8
9
# File 'lib/appraisal/platform.rb', line 6

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

Instance Method Details

#for_dupObject

:nodoc:


16
17
18
# File 'lib/appraisal/platform.rb', line 16

def for_dup
  formatted_output indent(super)
end

#to_sObject


11
12
13
# File 'lib/appraisal/platform.rb', line 11

def to_s
  formatted_output indent(super)
end