Class: Fastlane::RamDisk::Options
- Inherits:
-
Object
- Object
- Fastlane::RamDisk::Options
- Defined in:
- lib/fastlane/plugin/ram_disk/manager.rb
Class Method Summary collapse
- .available_create_options ⇒ Object
- .available_options ⇒ Object
- .available_remove_options ⇒ Object
- .create_options ⇒ Object
- .remove_options ⇒ Object
Class Method Details
.available_create_options ⇒ Object
117 118 119 |
# File 'lib/fastlane/plugin/ram_disk/manager.rb', line 117 def @create_options ||= end |
.available_options ⇒ Object
113 114 115 |
# File 'lib/fastlane/plugin/ram_disk/manager.rb', line 113 def @available_options ||= end |
.available_remove_options ⇒ Object
121 122 123 |
# File 'lib/fastlane/plugin/ram_disk/manager.rb', line 121 def @remove_options ||= end |
.create_options ⇒ Object
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/fastlane/plugin/ram_disk/manager.rb', line 136 def [ 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 ⇒ Object
155 156 157 158 159 160 161 162 163 164 |
# File 'lib/fastlane/plugin/ram_disk/manager.rb', line 155 def [ 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 |