Class: Fastlane::Actions::RemoveRamDiskAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::RemoveRamDiskAction
- Defined in:
- lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb
Documentation collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .category ⇒ Object
- .description ⇒ Object
- .example_code ⇒ Object
- .is_supported?(_) ⇒ Boolean
Class Method Summary collapse
Class Method Details
.authors ⇒ Object
32 33 34 |
# File 'lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb', line 32 def self. ['icyleaf'] end |
.available_options ⇒ Object
17 18 19 |
# File 'lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb', line 17 def self. Fastlane::RamDisk::Options. end |
.category ⇒ Object
28 29 30 |
# File 'lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb', line 28 def self.category :building end |
.description ⇒ Object
13 14 15 |
# 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 ⇒ Object
21 22 23 24 25 26 |
# 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?(_) ⇒ Boolean
36 37 38 |
# File 'lib/fastlane/plugin/ram_disk/actions/remove_ram_disk_action.rb', line 36 def self.is_supported?(_) true end |
.run(params) ⇒ Object
4 5 6 7 |
# 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 |