Class: DebugLogging::LambDart::Note

Inherits:
Base
  • Object
show all
Defined in:
lib/debug_logging/lamb_dart/note.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#args, #config_proxy, #decorated_method, #instance, #is_class, #klass, #kwargs, #method_payload, #scope_term

Instance Method Summary collapse

Constructor Details

#initializeNote

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_argsObject (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