Class: DevelopWithPassion::Expander::Log
- Defined in:
- lib/developwithpassion_expander/log.rb
Class Method Summary collapse
Class Method Details
.disable ⇒ Object
11 12 13 |
# File 'lib/developwithpassion_expander/log.rb', line 11 def disable @enabled = false end |
.enable ⇒ Object
8 9 10 |
# File 'lib/developwithpassion_expander/log.rb', line 8 def enable @enabled = true end |
.message(item) ⇒ Object
5 6 7 |
# File 'lib/developwithpassion_expander/log.rb', line 5 def (item) puts item if @enabled end |