Class: Strongbolt::Configuration::DefaultLogger
- Defined in:
- lib/strongbolt/configuration.rb
Overview
A placeholder class for logger when not defined Just print what’s given
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, text = nil, &block) ⇒ Object
8 9 10 |
# File 'lib/strongbolt/configuration.rb', line 8 def method_missing(method_name, text = nil, &block) puts "[#{method_name}] #{block.present? ? yield : text}" end |