Class: Fastlane::Helper::DotenvVaultHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/dotenv_vault/helper/dotenv_vault_helper.rb

Class Method Summary collapse

Class Method Details

.load(*filenames) ⇒ Object



6
7
8
# File 'lib/fastlane/plugin/dotenv_vault/helper/dotenv_vault_helper.rb', line 6

def self.load(*filenames)
  ::DotenvVault.load(*filenames)
end

.load!(*filenames) ⇒ Object

same as ‘load`, but raises Errno::ENOENT if any files don’t exist



11
12
13
# File 'lib/fastlane/plugin/dotenv_vault/helper/dotenv_vault_helper.rb', line 11

def self.load!(*filenames)
  ::DotenvVault.load!(*filenames)
end

.overload(*filenames) ⇒ Object

same as ‘load`, but will override existing values in `ENV`



16
17
18
# File 'lib/fastlane/plugin/dotenv_vault/helper/dotenv_vault_helper.rb', line 16

def self.overload(*filenames)
  ::DotenvVault.overload(*filenames)
end

.overload!(*filenames) ⇒ Object

same as ‘overload`, but raises Errno:ENOENT if any files don’t exist



21
22
23
# File 'lib/fastlane/plugin/dotenv_vault/helper/dotenv_vault_helper.rb', line 21

def self.overload!(*filenames)
  ::DotenvVault.overload!(*filenames)
end

.parse(*filenames) ⇒ Object

returns a hash of parsed key/value pairs but does not modify ENV



26
27
28
# File 'lib/fastlane/plugin/dotenv_vault/helper/dotenv_vault_helper.rb', line 26

def self.parse(*filenames)
  ::DotenvVault.parse(*filenames)
end