Class: Pod::LocalSpec

Inherits:
Object
  • Object
show all
Defined in:
lib/helper/podfile.rb

Constant Summary collapse

@@local_spec_importing =
false
@@local_spec_path =
nil

Class Method Summary collapse

Class Method Details

.import_local_pod(path) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/helper/podfile.rb', line 8

def self.import_local_pod(path)
  @@local_spec_importing = true
  @@local_spec_path = path
  yield if block_given?
  @@local_spec_path = nil
  @@local_spec_importing = false
end

.local_spec_importing?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/helper/podfile.rb', line 15

def self.local_spec_importing?
  @@local_spec_importing
end

.local_spec_pathObject



18
19
20
# File 'lib/helper/podfile.rb', line 18

def self.local_spec_path
  @@local_spec_path
end