class Fastlane::RamDisk::Options

Public Class Methods

available_create_options() click to toggle source
# File lib/fastlane/plugin/ram_disk/manager.rb, line 117
def available_create_options
  @create_options ||= create_options
end
available_options() click to toggle source
# File lib/fastlane/plugin/ram_disk/manager.rb, line 113
def available_options
  @available_options ||= available_options
end
available_remove_options() click to toggle source
# File lib/fastlane/plugin/ram_disk/manager.rb, line 121
def available_remove_options
  @remove_options ||= remove_options
end
create_options() click to toggle source
# File lib/fastlane/plugin/ram_disk/manager.rb, line 136
def create_options
  [
    FastlaneCore::ConfigItem.new(key: :name,
                                env_name: 'RAM_DISK_NAME',
                                description: 'The name of ram disk',
                                type: String),
    FastlaneCore::ConfigItem.new(key: :size,
                                env_name: 'RAM_DISK_SIZE',
                                description: 'The size of ram disk (unit is MB)',
                                type: String),
    FastlaneCore::ConfigItem.new(key: :mount_path,
                                env_name: 'RAM_DISK_MOUNT_PATH',
                                description: 'The path of ram disk',
                                optional: true,
                                default_value: '/Volumes',
                                type: String)
  ]
end
remove_options() click to toggle source
# File lib/fastlane/plugin/ram_disk/manager.rb, line 155
def remove_options
  [
    FastlaneCore::ConfigItem.new(key: :path,
                               env_name: 'RAM_DISK_PATH',
                               description: 'The path of ram disk',
                               optional: true,
                               default_value: Actions.lane_context[Actions::SharedValues::RAM_DISK_PATH],
                               type: String)
  ]
end