Module: Mentor::Globals
- Defined in:
- lib/helpers/globals.rb
Instance Attribute Summary collapse
-
#tp ⇒ Object
Returns the value of attribute tp.
Instance Method Summary collapse
Instance Attribute Details
#tp ⇒ Object
Returns the value of attribute tp.
5 6 7 |
# File 'lib/helpers/globals.rb', line 5 def tp @tp end |
Instance Method Details
#disable ⇒ Object
11 12 13 |
# File 'lib/helpers/globals.rb', line 11 def disable @enabled = false end |
#enable ⇒ Object
7 8 9 |
# File 'lib/helpers/globals.rb', line 7 def enable @enabled = true end |
#enabled? ⇒ Boolean
15 16 17 |
# File 'lib/helpers/globals.rb', line 15 def enabled? @enabled == true end |