Class: Motion::Project::Config
- Inherits:
-
Object
- Object
- Motion::Project::Config
- Defined in:
- lib/motion/project/instabug.rb
Instance Attribute Summary collapse
-
#instabug_mode ⇒ Object
Returns the value of attribute instabug_mode.
Instance Method Summary collapse
Instance Attribute Details
#instabug_mode ⇒ Object
Returns the value of attribute instabug_mode.
85 86 87 |
# File 'lib/motion/project/instabug.rb', line 85 def instabug_mode @instabug_mode end |
Instance Method Details
#instabug {|@instabug| ... } ⇒ Object
89 90 91 92 93 |
# File 'lib/motion/project/instabug.rb', line 89 def instabug @instabug ||= InstabugConfig.new(self) yield @instabug if block_given? && instabug? @instabug end |
#instabug? ⇒ Boolean
95 96 97 |
# File 'lib/motion/project/instabug.rb', line 95 def instabug? @instabug_mode == true end |