module TrainPlugins::TestFixture::Platform

Public Instance Methods

platform() click to toggle source
# File lib/train-test-fixture/platform.rb, line 6
def platform
  # Build this platform's family declarations.
  # You'll need at least unix and windows to make the file() resource work.
  Train::Platforms.name('test-fixture').in_family('unix')
  Train::Platforms.name('test-fixture').in_family('windows')
  force_platform!('test-fixture',
    release: TrainPlugins::TestFixture::VERSION,
    arch: 'mock',
  )
end