Skip to content

Commit 7b27350

Browse files
committed
add Session#exnted_feature API as experimental
1 parent 9047fc8 commit 7b27350

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/debug/session.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,6 +2147,13 @@ def flush
21472147
end
21482148
end
21492149

2150+
# experimental API
2151+
def extend_feature session: nil, thread_client: nil, ui: nil
2152+
Session.include session if session
2153+
ThreadClient.include thread_client if thread_client
2154+
@ui.extend ui if ui
2155+
end
2156+
21502157
# manual configuration methods
21512158

21522159
def self.add_line_breakpoint file, line, **kw

0 commit comments

Comments
 (0)