Class: Motion::Project::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/motion/project/testflight.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#testflight_modeObject

Returns the value of attribute testflight_mode.



90
91
92
# File 'lib/motion/project/testflight.rb', line 90

def testflight_mode
  @testflight_mode
end

Instance Method Details

#testflight {|@testflight| ... } ⇒ Object

Yields:



94
95
96
97
98
# File 'lib/motion/project/testflight.rb', line 94

def testflight
  @testflight ||= TestFlightConfig.new(self)
  yield @testflight if block_given? && testflight?
  @testflight
end

#testflight?Boolean

Returns:

  • (Boolean)


100
101
102
# File 'lib/motion/project/testflight.rb', line 100

def testflight?
  @testflight_mode == true
end