Class: Motion::Project::Config
- Inherits:
-
Object
- Object
- Motion::Project::Config
- Defined in:
- lib/motion/project/testflight.rb
Instance Attribute Summary collapse
-
#testflight_mode ⇒ Object
Returns the value of attribute testflight_mode.
Instance Method Summary collapse
Instance Attribute Details
#testflight_mode ⇒ Object
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
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
100 101 102 |
# File 'lib/motion/project/testflight.rb', line 100 def testflight? @testflight_mode == true end |