Class: Fastlane::Helper::RamDiskHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/ram_disk/helper/ram_disk_helper.rb

Class Method Summary collapse

Class Method Details

.mac?Boolean

Returns:

  • (Boolean)


15
16
17
18
19
20
# File 'lib/fastlane/plugin/ram_disk/helper/ram_disk_helper.rb', line 15

def self.mac?
  require 'rbconfig'

  platform = RbConfig::CONFIG['host_os']
  platform.include?('darwin')
end

.show_messageObject

class methods that you define here become available in your action as ‘Helper::RamDiskHelper.your_method`



11
12
13
# File 'lib/fastlane/plugin/ram_disk/helper/ram_disk_helper.rb', line 11

def self.show_message
  UI.message("Hello from the ram_disk plugin helper!")
end