Module: OmniAuth::Slack::Debug
- Includes:
- CallerMethodName
- Defined in:
- lib/omniauth-slack/debug.rb
Defined Under Namespace
Modules: Extensions
Constant Summary collapse
- LOG_ALL =
using ObjectRefinements
%w(1 true yes all debug)
- LOG_NONE =
%w(0 false no none nil nill null)
Class Method Summary collapse
Instance Method Summary collapse
Methods included from CallerMethodName
Class Method Details
.included(other) ⇒ Object
20 21 22 23 |
# File 'lib/omniauth-slack/debug.rb', line 20 def self.included(other) other.send(:include, CallerMethodName) other.send(:extend, Extensions) end |
Instance Method Details
#debug(method_name = nil, klass = nil, &block) ⇒ Object
50 51 52 53 |
# File 'lib/omniauth-slack/debug.rb', line 50 def debug(method_name=nil, klass=nil, &block) method_name ||= caller_method_name self.class.debug(method_name, klass, &block) end |