class Fastlane::Actions::RemoveRamDiskAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb, line 32
def self.authors
  ['icyleaf']
end
available_options() click to toggle source
# File lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb, line 17
def self.available_options
  Fastlane::RamDisk::Options.remove_options
end
category() click to toggle source
# File lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb, line 28
def self.category
  :building
end
description() click to toggle source

@!group Documentation

# File lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb, line 13
def self.description
  'Remove a ram disk (use it after _create_ram_disk_ action)'
end
example_code() click to toggle source
# File lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb, line 21
def self.example_code
  [
    'remove_ram_disk',
    'remove_ram_disk(path: "/Volumes/ramdisk")'
  ]
end
is_supported?(_) click to toggle source
# File lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb, line 36
def self.is_supported?(_)
  true
end
run(params) click to toggle source
# File lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb, line 4
def self.run(params)
  manager = RamDisk::Manager.new(params)
  manager.remove
end