Class: Reflection::Support::Log
- Inherits:
-
Object
- Object
- Reflection::Support::Log
- Defined in:
- lib/reflection/support/log.rb
Instance Attribute Summary collapse
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
Instance Attribute Details
#verbose ⇒ Object
Returns the value of attribute verbose.
5 6 7 |
# File 'lib/reflection/support/log.rb', line 5 def verbose @verbose end |
Instance Method Details
#debug(message) ⇒ Object
7 8 9 |
# File 'lib/reflection/support/log.rb', line 7 def debug() puts "** #{}" if Reflection.verbose == true && && !.empty? end |
#error(message) ⇒ Object
15 16 17 |
# File 'lib/reflection/support/log.rb', line 15 def error() puts "!! #{}" if && !.empty? end |
#info(message) ⇒ Object
11 12 13 |
# File 'lib/reflection/support/log.rb', line 11 def info() puts "** #{}" if && !.empty? end |