We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
functions
1 parent f557dde commit dca327cCopy full SHA for dca327c
lib/appmap/config.rb
@@ -366,7 +366,7 @@ def load(config_data)
366
# hook config.
367
declare_hook(hook_decl)
368
end
369
- end
+ end.flatten
370
371
372
config_params[:packages] = \
spec/config_spec.rb
@@ -11,6 +11,10 @@
11
functions: [
12
{
13
name: 'pkg/cls#fn',
14
+ },
15
+ {
16
+ methods: ['cls#new_fn'],
17
+ path: 'pkg'
18
}
19
]
20
}.deep_stringify_keys!
@@ -64,6 +68,15 @@
64
68
"fn"
65
69
66
70
71
72
73
+ "cls": "cls",
74
+ "target_methods": {
75
+ "package": "pkg",
76
+ "method_names": [
77
+ "new_fn"
78
+ ]
79
+ }
67
80
81
],
82
"builtin_hooks": {
@@ -195,6 +208,12 @@
195
208
"method_names": [
196
209
197
210
211
212
213
214
215
216
198
217
199
218
200
219
"ActiveSupport::Callbacks::CallbackSequence": [
0 commit comments