Class: DebugLogging::LambDart::Note
- Defined in:
- lib/debug_logging/lamb_dart/note.rb
Instance Attribute Summary collapse
-
#debug_args ⇒ Object
readonly
Returns the value of attribute debug_args.
Attributes inherited from Base
#args, #config_proxy, #decorated_method, #instance, #is_class, #klass, #kwargs, #method_payload, #scope_term
Instance Method Summary collapse
-
#initialize ⇒ Note
constructor
A new instance of Note.
Constructor Details
#initialize ⇒ Note
Returns a new instance of Note.
6 7 8 9 10 11 |
# File 'lib/debug_logging/lamb_dart/note.rb', line 6 def initialize(...) super do |proxy| subscribe(proxy) end @debug_args = kwargs.empty? ? args : args + [kwargs] end |
Instance Attribute Details
#debug_args ⇒ Object (readonly)
Returns the value of attribute debug_args.
4 5 6 |
# File 'lib/debug_logging/lamb_dart/note.rb', line 4 def debug_args @debug_args end |