moneylovercli 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +3 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +6 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +9 -0
  8. data/Gemfile.lock +67 -0
  9. data/LICENSE.txt +20 -0
  10. data/README.md +45 -0
  11. data/Rakefile +6 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/exe/moneylovercli +18 -0
  15. data/lib/moneylovercli.rb +7 -0
  16. data/lib/moneylovercli/api/access_token.rb +19 -0
  17. data/lib/moneylovercli/api/base.rb +15 -0
  18. data/lib/moneylovercli/api/category.rb +15 -0
  19. data/lib/moneylovercli/api/money_lover.rb +14 -0
  20. data/lib/moneylovercli/api/transaction.rb +25 -0
  21. data/lib/moneylovercli/api/user.rb +13 -0
  22. data/lib/moneylovercli/api/wallet.rb +13 -0
  23. data/lib/moneylovercli/cli.rb +62 -0
  24. data/lib/moneylovercli/command.rb +141 -0
  25. data/lib/moneylovercli/commands/.gitkeep +1 -0
  26. data/lib/moneylovercli/commands/add_transaction.rb +74 -0
  27. data/lib/moneylovercli/commands/login.rb +61 -0
  28. data/lib/moneylovercli/commands/wallets.rb +31 -0
  29. data/lib/moneylovercli/version.rb +4 -0
  30. data/moneylovercli.gemspec +33 -0
  31. data/sorbet/config +2 -0
  32. data/sorbet/rbi/gems/byebug.rbi +1041 -0
  33. data/sorbet/rbi/gems/coderay.rbi +92 -0
  34. data/sorbet/rbi/gems/equatable.rbi +26 -0
  35. data/sorbet/rbi/gems/httparty.rbi +421 -0
  36. data/sorbet/rbi/gems/method_source.rbi +64 -0
  37. data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
  38. data/sorbet/rbi/gems/mime-types.rbi +218 -0
  39. data/sorbet/rbi/gems/multi_xml.rbi +35 -0
  40. data/sorbet/rbi/gems/pastel.rbi +128 -0
  41. data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
  42. data/sorbet/rbi/gems/pry.rbi +1949 -0
  43. data/sorbet/rbi/gems/rake.rbi +645 -0
  44. data/sorbet/rbi/gems/rspec-core.rbi +1923 -0
  45. data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
  46. data/sorbet/rbi/gems/rspec-mocks.rbi +1090 -0
  47. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  48. data/sorbet/rbi/gems/rspec.rbi +15 -0
  49. data/sorbet/rbi/gems/tty-color.rbi +44 -0
  50. data/sorbet/rbi/gems/zeitwerk.rbi +136 -0
  51. data/sorbet/rbi/hidden-definitions/errors.txt +4361 -0
  52. data/sorbet/rbi/hidden-definitions/hidden.rbi +8227 -0
  53. data/sorbet/rbi/sorbet-typed/lib/httparty/all/httparty.rbi +427 -0
  54. data/sorbet/rbi/todo.rbi +20 -0
  55. metadata +167 -0
@@ -0,0 +1,62 @@
1
+ # typed: false
2
+ # frozen_string_literal: true
3
+
4
+ require 'thor'
5
+
6
+ module Moneylovercli
7
+ # Handle the application command line parsing
8
+ # and the dispatch to various command objects
9
+ #
10
+ # @api public
11
+ class CLI < Thor
12
+ # Error raised by this runner
13
+ Error = Class.new(StandardError)
14
+
15
+ desc 'version', 'moneylovercli version'
16
+ def version
17
+ require_relative 'version'
18
+ puts "v#{Moneylovercli::VERSION}"
19
+ end
20
+ map %w(--version -v) => :version
21
+
22
+ desc 'add_transaction', 'Command description...'
23
+ method_option :help, aliases: '-h', type: :boolean,
24
+ desc: 'Display usage information'
25
+ def add_transaction(*)
26
+ if options[:help]
27
+ invoke :help, ['add_transaction']
28
+ else
29
+ require_relative 'commands/add_transaction'
30
+ Moneylovercli::Commands::AddTransaction.new(options).execute
31
+ end
32
+ end
33
+
34
+ desc 'login', 'Command description...'
35
+ method_option :help, aliases: '-h', type: :boolean,
36
+ desc: 'Display usage information'
37
+ def login(*)
38
+ if options[:help]
39
+ invoke :help, ['login']
40
+ else
41
+ require_relative 'commands/login'
42
+ Moneylovercli::Commands::Login.new(options).execute
43
+ end
44
+ end
45
+
46
+ desc 'login USERNAME PASSWORD', 'Command description...'
47
+ method_option :help, aliases: '-h', type: :boolean,
48
+ desc: 'Display usage information'
49
+
50
+ desc 'wallets', 'Command description...'
51
+ method_option :help, aliases: '-h', type: :boolean,
52
+ desc: 'Display usage information'
53
+ def wallets(*)
54
+ if options[:help]
55
+ invoke :help, ['wallets']
56
+ else
57
+ require_relative 'commands/wallets'
58
+ Moneylovercli::Commands::Wallets.new(options).execute
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,141 @@
1
+ # typed: false
2
+ # frozen_string_literal: true
3
+
4
+ require 'forwardable'
5
+ require 'sorbet-runtime'
6
+
7
+ module Moneylovercli
8
+ class Command
9
+ extend T::Sig
10
+
11
+ extend Forwardable
12
+
13
+ def_delegators :command, :run
14
+
15
+ # Execute this command
16
+ #
17
+ # @api public
18
+ def execute(*)
19
+ raise(
20
+ NotImplementedError,
21
+ "#{self.class}##{__method__} must be implemented"
22
+ )
23
+ end
24
+
25
+ # The external commands runner
26
+ #
27
+ # @see http://www.rubydoc.info/gems/tty-command
28
+ #
29
+ # @api public
30
+ def command(**options)
31
+ require 'tty-command'
32
+ TTY::Command.new(options)
33
+ end
34
+
35
+ # The cursor movement
36
+ #
37
+ # @see http://www.rubydoc.info/gems/tty-cursor
38
+ #
39
+ # @api public
40
+ def cursor
41
+ require 'tty-cursor'
42
+ TTY::Cursor
43
+ end
44
+
45
+ # Open a file or text in the user's preferred editor
46
+ #
47
+ # @see http://www.rubydoc.info/gems/tty-editor
48
+ #
49
+ # @api public
50
+ def editor
51
+ require 'tty-editor'
52
+ TTY::Editor
53
+ end
54
+
55
+ # File manipulation utility methods
56
+ #
57
+ # @see http://www.rubydoc.info/gems/tty-file
58
+ #
59
+ # @api public
60
+ def generator
61
+ require 'tty-file'
62
+ TTY::File
63
+ end
64
+
65
+ # Terminal output paging
66
+ #
67
+ # @see http://www.rubydoc.info/gems/tty-pager
68
+ #
69
+ # @api public
70
+ def pager(**options)
71
+ require 'tty-pager'
72
+ TTY::Pager.new(options)
73
+ end
74
+
75
+ # Terminal platform and OS properties
76
+ #
77
+ # @see http://www.rubydoc.info/gems/tty-pager
78
+ #
79
+ # @api public
80
+ def platform
81
+ require 'tty-platform'
82
+ TTY::Platform.new
83
+ end
84
+
85
+ # The interactive prompt
86
+ #
87
+ # @see http://www.rubydoc.info/gems/tty-prompt
88
+ #
89
+ # @api public
90
+ def prompt(**options)
91
+ require 'tty-prompt'
92
+ TTY::Prompt.new(options)
93
+ end
94
+
95
+ # Get terminal screen properties
96
+ #
97
+ # @see http://www.rubydoc.info/gems/tty-screen
98
+ #
99
+ # @api public
100
+ def screen
101
+ require 'tty-screen'
102
+ TTY::Screen
103
+ end
104
+
105
+ # The unix which utility
106
+ #
107
+ # @see http://www.rubydoc.info/gems/tty-which
108
+ #
109
+ # @api public
110
+ def which(*args)
111
+ require 'tty-which'
112
+ TTY::Which.which(*args)
113
+ end
114
+
115
+ # Check if executable exists
116
+ #
117
+ # @see http://www.rubydoc.info/gems/tty-which
118
+ #
119
+ # @api public
120
+ def exec_exist?(*args)
121
+ require 'tty-which'
122
+ TTY::Which.exist?(*args)
123
+ end
124
+
125
+ def config
126
+ require 'tty-config'
127
+ require 'tty-file'
128
+ config_dir = "#{Dir.home}/.config/moneylovercli"
129
+ TTY::File.create_dir(config_dir)
130
+
131
+ @config ||= begin
132
+ config = TTY::Config.new
133
+ config.filename = 'config'
134
+ config.extname = '.yml'
135
+ config.append_path(Dir.pwd)
136
+ config.append_path(config_dir)
137
+ config
138
+ end
139
+ end
140
+ end
141
+ end
@@ -0,0 +1,74 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ require_relative '../command'
5
+ require_relative '../api/wallet.rb'
6
+ require_relative '../api/transaction.rb'
7
+ require_relative '../api/category.rb'
8
+ require 'byebug'
9
+
10
+ module Moneylovercli
11
+ module Commands
12
+ class AddTransaction < Moneylovercli::Command
13
+ def initialize(options)
14
+ @options = options
15
+ @wallet_id = options[:wallet_id]
16
+ end
17
+
18
+ def execute(input: $stdin, output: $stdout)
19
+ config.read
20
+ current_wallet = @wallet_id || config.fetch(:current_wallet)
21
+ access_token = config.fetch(:access_token)
22
+ unless current_wallet
23
+ request = Moneylovercli::Api::Wallet.new(token: access_token).list
24
+ response = request.parsed_response
25
+
26
+ if !response['data'].nil?
27
+ wallet_id = prompt.select('Choose your wallet', response['data'].map { |a| [a['name'], a['_id']] }.to_h)
28
+ config.set_if_empty(:wallet_id, value: wallet_id)
29
+ config.write(force: true)
30
+
31
+ amount = prompt.ask('Ammount', convert: :int, default: 10)
32
+
33
+ categories = config.fetch(:categories, wallet_id)
34
+ unless categories
35
+ prompt.ok('categories are not exist, fetching...')
36
+
37
+ categories_response = Moneylovercli::Api::Category
38
+ .new(token: access_token)
39
+ .list(wallet_id: wallet_id)
40
+ .parsed_response
41
+
42
+ if !categories_response['data'].nil?
43
+ config.set(:categories, wallet_id, value: categories_response['data'].map { |a| a.slice('_id', 'name')})
44
+ config.write(force: true)
45
+ prompt.ok('fetched categories succesfully')
46
+ else
47
+ prompt.error('Failed to fetch categories')
48
+ return
49
+ end
50
+ end
51
+
52
+ categories = config.fetch(:categories, wallet_id)
53
+ cats = categories.each_with_object({}) { |a, hash| hash[a['name']] = a['_id']; }
54
+ category_id = prompt.select('Category', cats, filter: true, show_help: :always)
55
+ display_date = prompt.ask('Date (Eg: YYYY-mm-dd)', default: DateTime.now.strftime('%F'))
56
+
57
+ puts "#{amount} - #{category_id} - #{display_date}"
58
+ transaction_request = Moneylovercli::Api::Transaction.new(token: access_token)
59
+ .add(account: wallet_id, category_id: category_id,
60
+ amount: amount, display_date: display_date)
61
+ if transaction_request.parsed_response['msg'] == 'transaction_add_success'
62
+ prompt.ok('Great! Your transaction has been created')
63
+ else
64
+ prompt.error("Failed to add transaction: #{transaction_request.parsed_response['msg'] }")
65
+ end
66
+ elsif response['msg'] != 'get_list_account_success'
67
+ prompt.error('Failed to fetch wallet')
68
+ return
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,61 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ require_relative '../command'
5
+ require_relative '../api/access_token.rb'
6
+ require_relative '../api/user.rb'
7
+ require 'byebug'
8
+
9
+ module Moneylovercli
10
+ module Commands
11
+ class Login < Moneylovercli::Command
12
+ def initialize(options)
13
+ @options = options
14
+ end
15
+
16
+ def execute(*)
17
+ username = prompt.ask('Enter your username/email?', default: 'cuongnm265@gmail.com')
18
+ password = prompt.mask('Enter your password?', default: '07021995')
19
+ status, access_token = parsed_access_token(username, password)
20
+
21
+ if status
22
+ prompt.ok('Login successfully')
23
+ write_config(access_token)
24
+ else
25
+ prompt.error(access_token['message'])
26
+ end
27
+ end
28
+
29
+ private
30
+
31
+ sig { returns([String, String]) }
32
+ def parsed_login_url
33
+ login_url = Moneylovercli::Api::User.new.login_url.parsed_response
34
+ client = login_url['data']['login_url'].match(/client=(.+?)&/)[1].to_s
35
+ token = login_url['data']['request_token']
36
+
37
+ [client, token]
38
+ end
39
+
40
+ sig { params(username: String, password: String).returns([T::Boolean, T::Hash[String, String]]) }
41
+ def parsed_access_token(username, password)
42
+ client, token = parsed_login_url
43
+ request = Moneylovercli::Api::AccessToken.new.access_token(
44
+ authorization_token: token.to_s,
45
+ client: client, email: username, password: password
46
+ )
47
+
48
+ [request.parsed_response['status'], request.parsed_response]
49
+ end
50
+
51
+ sig { params(access_token: T::Hash[String, String]).void }
52
+ def write_config(access_token)
53
+ byebug
54
+ access_token.each do |key, value|
55
+ config.set(key, value: value)
56
+ end
57
+ config.write(force: true)
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,31 @@
1
+ # typed: false
2
+ # frozen_string_literal: true
3
+
4
+ require_relative '../command'
5
+ require_relative '../api/wallet'
6
+ require 'yaml'
7
+ require 'tty-table'
8
+
9
+ module Moneylovercli
10
+ module Commands
11
+ class Wallets < Moneylovercli::Command
12
+ def initialize(options)
13
+ super
14
+ @options = options
15
+ end
16
+
17
+ def execute(_input: $stdin, output: $stdout)
18
+ config = YAML.load_file('config.yml')
19
+ access_token = config['access_token']
20
+ wallets = Moneylovercli::Api::Wallet.new(token: access_token)
21
+ .list
22
+ .parsed_response
23
+
24
+ output.puts TTY::Table.new(
25
+ %w[ID Name],
26
+ wallets['data'].map { |data| [data['_id'], data['name']] }
27
+ )
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,4 @@
1
+ # typed: strict
2
+ module Moneylovercli
3
+ VERSION = "0.1.1"
4
+ end
@@ -0,0 +1,33 @@
1
+ require_relative 'lib/moneylovercli/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = 'moneylovercli'
5
+ spec.license = 'MIT'
6
+ spec.version = Moneylovercli::VERSION
7
+ spec.authors = ['cuong.ngo']
8
+ spec.email = ['cuongnm265@gmail.com']
9
+
10
+ spec.summary = 'Gem to submit moneylover expense'
11
+ spec.description = 'Submit using ML API'
12
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
13
+
14
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
15
+ #
16
+ # spec.metadata["homepage_uri"] = spec.homepage
17
+ # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
18
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
19
+ #
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ end
25
+ spec.bindir = 'exe'
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ['lib']
28
+ spec.add_dependency 'byebug'
29
+ spec.add_dependency 'httparty'
30
+ spec.add_dependency 'pastel', '0.7.4'
31
+ spec.add_dependency 'zeitwerk'
32
+ spec.add_dependency 'pry-byebug'
33
+ end
@@ -0,0 +1,2 @@
1
+ --dir
2
+ .
@@ -0,0 +1,1041 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/byebug/all/byebug.rbi
9
+ #
10
+ # byebug-11.1.3
11
+
12
+ module Byebug
13
+ def add_catchpoint(arg0); end
14
+ def breakpoints; end
15
+ def catchpoints; end
16
+ def contexts; end
17
+ def current_context; end
18
+ def debug_load(*arg0); end
19
+ def displays; end
20
+ def displays=(arg0); end
21
+ def init_file; end
22
+ def init_file=(arg0); end
23
+ def lock; end
24
+ def mode; end
25
+ def mode=(arg0); end
26
+ def post_mortem=(arg0); end
27
+ def post_mortem?; end
28
+ def raised_exception; end
29
+ def rc_dirs; end
30
+ def run_init_script; end
31
+ def run_rc_file(rc_file); end
32
+ def self.actual_control_port; end
33
+ def self.actual_port; end
34
+ def self.add_catchpoint(arg0); end
35
+ def self.attach; end
36
+ def self.breakpoints; end
37
+ def self.catchpoints; end
38
+ def self.client; end
39
+ def self.contexts; end
40
+ def self.control; end
41
+ def self.current_context; end
42
+ def self.debug_load(*arg0); end
43
+ def self.handle_post_mortem; end
44
+ def self.interrupt; end
45
+ def self.load_settings; end
46
+ def self.lock; end
47
+ def self.parse_host_and_port(host_port_spec); end
48
+ def self.post_mortem=(arg0); end
49
+ def self.post_mortem?; end
50
+ def self.raised_exception; end
51
+ def self.server; end
52
+ def self.spawn(host = nil, port = nil); end
53
+ def self.start; end
54
+ def self.start_client(host = nil, port = nil); end
55
+ def self.start_control(host = nil, port = nil); end
56
+ def self.start_server(host = nil, port = nil); end
57
+ def self.started?; end
58
+ def self.stop; end
59
+ def self.stoppable?; end
60
+ def self.thread_context(arg0); end
61
+ def self.tracing=(arg0); end
62
+ def self.tracing?; end
63
+ def self.unlock; end
64
+ def self.verbose=(arg0); end
65
+ def self.verbose?; end
66
+ def self.wait_connection; end
67
+ def self.wait_connection=(arg0); end
68
+ def start; end
69
+ def started?; end
70
+ def stop; end
71
+ def stoppable?; end
72
+ def thread_context(arg0); end
73
+ def tracing=(arg0); end
74
+ def tracing?; end
75
+ def unlock; end
76
+ def verbose=(arg0); end
77
+ def verbose?; end
78
+ extend Byebug
79
+ include Byebug::Helpers::ReflectionHelper
80
+ end
81
+ module Kernel
82
+ def byebug; end
83
+ def debugger; end
84
+ def remote_byebug(host = nil, port = nil); end
85
+ end
86
+ module Byebug::Helpers
87
+ end
88
+ module Byebug::Helpers::ReflectionHelper
89
+ def commands; end
90
+ end
91
+ class Byebug::Context
92
+ def at_breakpoint(breakpoint); end
93
+ def at_catchpoint(exception); end
94
+ def at_end; end
95
+ def at_line; end
96
+ def at_return(return_value); end
97
+ def at_tracing; end
98
+ def backtrace; end
99
+ def dead?; end
100
+ def file(*args, &block); end
101
+ def frame; end
102
+ def frame=(pos); end
103
+ def frame_binding(*arg0); end
104
+ def frame_class(*arg0); end
105
+ def frame_file(*arg0); end
106
+ def frame_line(*arg0); end
107
+ def frame_method(*arg0); end
108
+ def frame_self(*arg0); end
109
+ def full_location; end
110
+ def ignored?; end
111
+ def ignored_file?(path); end
112
+ def interrupt; end
113
+ def line(*args, &block); end
114
+ def location; end
115
+ def processor; end
116
+ def resume; end
117
+ def self.ignored_files; end
118
+ def self.ignored_files=(arg0); end
119
+ def self.interface; end
120
+ def self.interface=(arg0); end
121
+ def self.processor; end
122
+ def self.processor=(arg0); end
123
+ def stack_size; end
124
+ def step_into(*arg0); end
125
+ def step_out(*arg0); end
126
+ def step_over(*arg0); end
127
+ def stop_reason; end
128
+ def suspend; end
129
+ def suspended?; end
130
+ def switch; end
131
+ def thnum; end
132
+ def thread; end
133
+ def tracing; end
134
+ def tracing=(arg0); end
135
+ extend Forwardable
136
+ include Byebug::Helpers::FileHelper
137
+ end
138
+ class Byebug::DebugThread < Thread
139
+ def self.inherited; end
140
+ end
141
+ class Byebug::Breakpoint
142
+ def enabled=(arg0); end
143
+ def enabled?; end
144
+ def expr; end
145
+ def expr=(arg0); end
146
+ def hit_condition; end
147
+ def hit_condition=(arg0); end
148
+ def hit_count; end
149
+ def hit_value; end
150
+ def hit_value=(arg0); end
151
+ def id; end
152
+ def initialize(arg0, arg1, arg2); end
153
+ def inspect; end
154
+ def pos; end
155
+ def self.add(file, line, expr = nil); end
156
+ def self.first; end
157
+ def self.last; end
158
+ def self.none?; end
159
+ def self.potential_line?(filename, lineno); end
160
+ def self.potential_lines(filename); end
161
+ def self.potential_lines_with_trace_points(iseq, lines); end
162
+ def self.potential_lines_without_trace_points(iseq, lines); end
163
+ def self.remove(id); end
164
+ def source; end
165
+ end
166
+ module Byebug::Helpers::FileHelper
167
+ def get_line(filename, lineno); end
168
+ def get_lines(filename); end
169
+ def n_lines(filename); end
170
+ def normalize(filename); end
171
+ def shortpath(fullpath); end
172
+ def virtual_file?(name); end
173
+ end
174
+ class Byebug::Frame
175
+ def _binding; end
176
+ def _class; end
177
+ def _method; end
178
+ def _self; end
179
+ def args; end
180
+ def c_args; end
181
+ def c_frame?; end
182
+ def current?; end
183
+ def deco_args; end
184
+ def deco_block; end
185
+ def deco_call; end
186
+ def deco_class; end
187
+ def deco_file; end
188
+ def deco_method; end
189
+ def deco_pos; end
190
+ def file; end
191
+ def initialize(context, pos); end
192
+ def line; end
193
+ def locals; end
194
+ def mark; end
195
+ def pos; end
196
+ def prefix_and_default(arg_type); end
197
+ def ruby_args; end
198
+ def to_hash; end
199
+ def use_short_style?(arg); end
200
+ include Byebug::Helpers::FileHelper
201
+ end
202
+ module Byebug::Helpers::PathHelper
203
+ def all_files; end
204
+ def bin_file; end
205
+ def gem_files; end
206
+ def glob_for(dir); end
207
+ def lib_files; end
208
+ def root_path; end
209
+ def test_files; end
210
+ end
211
+ module Byebug::Helpers::EvalHelper
212
+ def allowing_other_threads; end
213
+ def error_eval(str, binding = nil); end
214
+ def error_msg(exception); end
215
+ def in_new_thread; end
216
+ def msg(exception); end
217
+ def multiple_thread_eval(expression); end
218
+ def safe_eval(str, binding); end
219
+ def safe_inspect(var); end
220
+ def safe_to_s(var); end
221
+ def separate_thread_eval(expression); end
222
+ def silent_eval(str, binding = nil); end
223
+ def warning_eval(str, binding = nil); end
224
+ def warning_msg(exception); end
225
+ end
226
+ class Byebug::CommandNotFound < NoMethodError
227
+ def build_cmd(*args); end
228
+ def help; end
229
+ def initialize(input, parent = nil); end
230
+ def name; end
231
+ end
232
+ class Byebug::CommandProcessor
233
+ def after_repl; end
234
+ def at_breakpoint(brkpt); end
235
+ def at_catchpoint(exception); end
236
+ def at_end; end
237
+ def at_line; end
238
+ def at_return(return_value); end
239
+ def at_tracing; end
240
+ def auto_cmds_for(run_level); end
241
+ def before_repl; end
242
+ def command_list; end
243
+ def commands(*args, &block); end
244
+ def confirm(*args, &block); end
245
+ def context; end
246
+ def errmsg(*args, &block); end
247
+ def frame(*args, &block); end
248
+ def initialize(context, interface = nil); end
249
+ def interface; end
250
+ def pr(*args, &block); end
251
+ def prc(*args, &block); end
252
+ def prev_line; end
253
+ def prev_line=(arg0); end
254
+ def printer; end
255
+ def proceed!; end
256
+ def process_commands; end
257
+ def prompt; end
258
+ def prv(*args, &block); end
259
+ def puts(*args, &block); end
260
+ def repl; end
261
+ def run_auto_cmds(run_level); end
262
+ def run_cmd(input); end
263
+ def safely; end
264
+ extend Forwardable
265
+ include Byebug::Helpers::EvalHelper
266
+ end
267
+ module Byebug::Helpers::StringHelper
268
+ def camelize(str); end
269
+ def deindent(str, leading_spaces: nil); end
270
+ def prettify(str); end
271
+ end
272
+ class Byebug::Setting
273
+ def boolean?; end
274
+ def help; end
275
+ def initialize; end
276
+ def integer?; end
277
+ def self.[](name); end
278
+ def self.[]=(name, value); end
279
+ def self.find(shortcut); end
280
+ def self.help_all; end
281
+ def self.settings; end
282
+ def to_s; end
283
+ def to_sym; end
284
+ def value; end
285
+ def value=(arg0); end
286
+ end
287
+ class Byebug::History
288
+ def buffer; end
289
+ def clear; end
290
+ def default_max_size; end
291
+ def ignore?(buf); end
292
+ def initialize; end
293
+ def last_ids(number); end
294
+ def pop; end
295
+ def push(cmd); end
296
+ def restore; end
297
+ def save; end
298
+ def size; end
299
+ def size=(arg0); end
300
+ def specific_max_size(number); end
301
+ def to_s(n_cmds); end
302
+ end
303
+ class Byebug::LocalInterface < Byebug::Interface
304
+ def initialize; end
305
+ def readline(prompt); end
306
+ def with_repl_like_sigint; end
307
+ def without_readline_completion; end
308
+ end
309
+ class Byebug::ScriptInterface < Byebug::Interface
310
+ def close; end
311
+ def initialize(file, verbose = nil); end
312
+ def read_command(prompt); end
313
+ def readline(*arg0); end
314
+ end
315
+ class Byebug::RemoteInterface < Byebug::Interface
316
+ def close; end
317
+ def confirm(prompt); end
318
+ def initialize(socket); end
319
+ def print(message); end
320
+ def puts(message); end
321
+ def read_command(prompt); end
322
+ def readline(prompt); end
323
+ end
324
+ class Byebug::Interface
325
+ def autorestore; end
326
+ def autosave; end
327
+ def close; end
328
+ def command_queue; end
329
+ def command_queue=(arg0); end
330
+ def confirm(prompt); end
331
+ def errmsg(message); end
332
+ def error; end
333
+ def history; end
334
+ def history=(arg0); end
335
+ def initialize; end
336
+ def input; end
337
+ def last_if_empty(input); end
338
+ def output; end
339
+ def prepare_input(prompt); end
340
+ def print(message); end
341
+ def puts(message); end
342
+ def read_command(prompt); end
343
+ def read_file(filename); end
344
+ def read_input(prompt, save_hist = nil); end
345
+ def split_commands(cmd_line); end
346
+ include Byebug::Helpers::FileHelper
347
+ end
348
+ class Byebug::ScriptProcessor < Byebug::CommandProcessor
349
+ def after_repl; end
350
+ def commands; end
351
+ def prompt; end
352
+ def repl; end
353
+ def without_exceptions; end
354
+ end
355
+ class Byebug::PostMortemProcessor < Byebug::CommandProcessor
356
+ def commands; end
357
+ def prompt; end
358
+ end
359
+ class Byebug::Command
360
+ def arguments; end
361
+ def confirm(*args, &block); end
362
+ def context; end
363
+ def errmsg(*args, &block); end
364
+ def frame; end
365
+ def help(*args, &block); end
366
+ def initialize(processor, input = nil); end
367
+ def match(*args, &block); end
368
+ def pr(*args, &block); end
369
+ def prc(*args, &block); end
370
+ def print(*args, &block); end
371
+ def processor; end
372
+ def prv(*args, &block); end
373
+ def puts(*args, &block); end
374
+ def self.allow_in_control; end
375
+ def self.allow_in_control=(arg0); end
376
+ def self.allow_in_post_mortem; end
377
+ def self.allow_in_post_mortem=(arg0); end
378
+ def self.always_run; end
379
+ def self.always_run=(arg0); end
380
+ def self.columnize(width); end
381
+ def self.help; end
382
+ def self.match(input); end
383
+ def self.to_s; end
384
+ extend Forwardable
385
+ end
386
+ module Byebug::Helpers::ParseHelper
387
+ def get_int(str, cmd, min = nil, max = nil); end
388
+ def parse_steps(str, cmd); end
389
+ def syntax_valid?(code); end
390
+ def without_stderr; end
391
+ end
392
+ class Byebug::SourceFileFormatter
393
+ def amend(line, ceiling); end
394
+ def amend_final(line); end
395
+ def amend_initial(line); end
396
+ def annotator; end
397
+ def file; end
398
+ def initialize(file, annotator); end
399
+ def lines(min, max); end
400
+ def lines_around(center); end
401
+ def max_initial_line; end
402
+ def max_line; end
403
+ def range_around(center); end
404
+ def range_from(min); end
405
+ def size; end
406
+ include Byebug::Helpers::FileHelper
407
+ end
408
+ class Byebug::BreakCommand < Byebug::Command
409
+ def add_line_breakpoint(file, line); end
410
+ def execute; end
411
+ def line_breakpoint(location); end
412
+ def method_breakpoint(location); end
413
+ def self.description; end
414
+ def self.regexp; end
415
+ def self.short_description; end
416
+ def target_object(str); end
417
+ def valid_breakpoints_for(path, line); end
418
+ include Byebug::Helpers::EvalHelper
419
+ include Byebug::Helpers::FileHelper
420
+ include Byebug::Helpers::ParseHelper
421
+ end
422
+ class Byebug::CatchCommand < Byebug::Command
423
+ def add(exception); end
424
+ def clear; end
425
+ def execute; end
426
+ def info; end
427
+ def remove(exception); end
428
+ def self.description; end
429
+ def self.regexp; end
430
+ def self.short_description; end
431
+ include Byebug::Helpers::EvalHelper
432
+ end
433
+ class Byebug::ConditionCommand < Byebug::Command
434
+ def execute; end
435
+ def self.description; end
436
+ def self.regexp; end
437
+ def self.short_description; end
438
+ include Byebug::Helpers::ParseHelper
439
+ end
440
+ class Byebug::ContinueCommand < Byebug::Command
441
+ def execute; end
442
+ def modifier; end
443
+ def self.description; end
444
+ def self.regexp; end
445
+ def self.short_description; end
446
+ def unconditionally?; end
447
+ def until_line?; end
448
+ include Byebug::Helpers::ParseHelper
449
+ end
450
+ class Byebug::DebugCommand < Byebug::Command
451
+ def execute; end
452
+ def self.description; end
453
+ def self.regexp; end
454
+ def self.short_description; end
455
+ include Byebug::Helpers::EvalHelper
456
+ end
457
+ class Byebug::DeleteCommand < Byebug::Command
458
+ def execute; end
459
+ def self.description; end
460
+ def self.regexp; end
461
+ def self.short_description; end
462
+ include Byebug::Helpers::ParseHelper
463
+ end
464
+ class Byebug::CommandList
465
+ def each; end
466
+ def initialize(commands); end
467
+ def match(input); end
468
+ def to_s; end
469
+ def width; end
470
+ include Enumerable
471
+ end
472
+ module Byebug::Subcommands
473
+ def execute; end
474
+ def self.included(command); end
475
+ def subcommand_list(*args, &block); end
476
+ extend Forwardable
477
+ end
478
+ module Byebug::Subcommands::ClassMethods
479
+ def help; end
480
+ def subcommand_list; end
481
+ include Byebug::Helpers::ReflectionHelper
482
+ end
483
+ module Byebug::Helpers::ToggleHelper
484
+ def enable_disable_breakpoints(is_enable, args); end
485
+ def enable_disable_display(is_enable, args); end
486
+ def n_displays; end
487
+ def select_breakpoints(is_enable, args); end
488
+ include Byebug::Helpers::ParseHelper
489
+ end
490
+ class Byebug::DisableCommand < Byebug::Command
491
+ def self.description; end
492
+ def self.regexp; end
493
+ def self.short_description; end
494
+ extend Byebug::Subcommands::ClassMethods
495
+ include Byebug::Subcommands
496
+ end
497
+ class Byebug::DisableCommand::BreakpointsCommand < Byebug::Command
498
+ def execute; end
499
+ def self.description; end
500
+ def self.regexp; end
501
+ def self.short_description; end
502
+ include Byebug::Helpers::ToggleHelper
503
+ end
504
+ class Byebug::DisableCommand::DisplayCommand < Byebug::Command
505
+ def execute; end
506
+ def self.description; end
507
+ def self.regexp; end
508
+ def self.short_description; end
509
+ include Byebug::Helpers::ToggleHelper
510
+ end
511
+ class Byebug::DisplayCommand < Byebug::Command
512
+ def display_expression(exp); end
513
+ def eval_expr(expression); end
514
+ def execute; end
515
+ def print_display_expressions; end
516
+ def self.description; end
517
+ def self.regexp; end
518
+ def self.short_description; end
519
+ include Byebug::Helpers::EvalHelper
520
+ end
521
+ module Byebug::Helpers::FrameHelper
522
+ def adjust_frame(new_frame); end
523
+ def direction(step); end
524
+ def frame_err(msg); end
525
+ def index_from_start(index); end
526
+ def jump_frames(steps); end
527
+ def navigate_to_frame(jump_no); end
528
+ def out_of_bounds?(pos); end
529
+ def switch_to_frame(frame); end
530
+ end
531
+ class Byebug::DownCommand < Byebug::Command
532
+ def execute; end
533
+ def self.description; end
534
+ def self.regexp; end
535
+ def self.short_description; end
536
+ include Byebug::Helpers::FrameHelper
537
+ include Byebug::Helpers::ParseHelper
538
+ end
539
+ class Byebug::EditCommand < Byebug::Command
540
+ def edit_error(type, file); end
541
+ def editor; end
542
+ def execute; end
543
+ def location(matched); end
544
+ def self.description; end
545
+ def self.regexp; end
546
+ def self.short_description; end
547
+ end
548
+ class Byebug::EnableCommand < Byebug::Command
549
+ def self.description; end
550
+ def self.regexp; end
551
+ def self.short_description; end
552
+ extend Byebug::Subcommands::ClassMethods
553
+ include Byebug::Subcommands
554
+ end
555
+ class Byebug::EnableCommand::BreakpointsCommand < Byebug::Command
556
+ def execute; end
557
+ def self.description; end
558
+ def self.regexp; end
559
+ def self.short_description; end
560
+ include Byebug::Helpers::ToggleHelper
561
+ end
562
+ class Byebug::EnableCommand::DisplayCommand < Byebug::Command
563
+ def execute; end
564
+ def self.description; end
565
+ def self.regexp; end
566
+ def self.short_description; end
567
+ include Byebug::Helpers::ToggleHelper
568
+ end
569
+ class Byebug::FinishCommand < Byebug::Command
570
+ def execute; end
571
+ def max_frames; end
572
+ def self.description; end
573
+ def self.regexp; end
574
+ def self.short_description; end
575
+ include Byebug::Helpers::ParseHelper
576
+ end
577
+ class Byebug::FrameCommand < Byebug::Command
578
+ def execute; end
579
+ def self.description; end
580
+ def self.regexp; end
581
+ def self.short_description; end
582
+ include Byebug::Helpers::FrameHelper
583
+ include Byebug::Helpers::ParseHelper
584
+ end
585
+ class Byebug::HelpCommand < Byebug::Command
586
+ def command; end
587
+ def execute; end
588
+ def help_for(input, cmd); end
589
+ def help_for_all; end
590
+ def self.description; end
591
+ def self.regexp; end
592
+ def self.short_description; end
593
+ def subcommand; end
594
+ end
595
+ class Byebug::HistoryCommand < Byebug::Command
596
+ def execute; end
597
+ def self.description; end
598
+ def self.regexp; end
599
+ def self.short_description; end
600
+ include Byebug::Helpers::ParseHelper
601
+ end
602
+ class Byebug::InfoCommand < Byebug::Command
603
+ def self.description; end
604
+ def self.regexp; end
605
+ def self.short_description; end
606
+ extend Byebug::Subcommands::ClassMethods
607
+ include Byebug::Subcommands
608
+ end
609
+ class Byebug::InfoCommand::BreakpointsCommand < Byebug::Command
610
+ def execute; end
611
+ def info_breakpoint(brkpt); end
612
+ def self.description; end
613
+ def self.regexp; end
614
+ def self.short_description; end
615
+ end
616
+ class Byebug::InfoCommand::DisplayCommand < Byebug::Command
617
+ def execute; end
618
+ def self.description; end
619
+ def self.regexp; end
620
+ def self.short_description; end
621
+ end
622
+ class Byebug::InfoCommand::FileCommand < Byebug::Command
623
+ def execute; end
624
+ def info_file_basic(file); end
625
+ def info_file_breakpoints(file); end
626
+ def info_file_mtime(file); end
627
+ def info_file_sha1(file); end
628
+ def self.description; end
629
+ def self.regexp; end
630
+ def self.short_description; end
631
+ include Byebug::Helpers::FileHelper
632
+ include Byebug::Helpers::StringHelper
633
+ end
634
+ class Byebug::InfoCommand::LineCommand < Byebug::Command
635
+ def execute; end
636
+ def self.description; end
637
+ def self.regexp; end
638
+ def self.short_description; end
639
+ end
640
+ class Byebug::InfoCommand::ProgramCommand < Byebug::Command
641
+ def execute; end
642
+ def format_stop_reason(stop_reason); end
643
+ def self.description; end
644
+ def self.regexp; end
645
+ def self.short_description; end
646
+ end
647
+ class Byebug::InterruptCommand < Byebug::Command
648
+ def execute; end
649
+ def self.description; end
650
+ def self.regexp; end
651
+ def self.short_description; end
652
+ end
653
+ class Byebug::IrbCommand < Byebug::Command
654
+ def execute; end
655
+ def self.description; end
656
+ def self.regexp; end
657
+ def self.short_description; end
658
+ def with_clean_argv; end
659
+ end
660
+ class Byebug::KillCommand < Byebug::Command
661
+ def execute; end
662
+ def self.description; end
663
+ def self.regexp; end
664
+ def self.short_description; end
665
+ end
666
+ class Byebug::ListCommand < Byebug::Command
667
+ def amend_final(*args, &block); end
668
+ def auto_range(direction); end
669
+ def display_lines(min, max); end
670
+ def execute; end
671
+ def lower_bound(range); end
672
+ def max_line(*args, &block); end
673
+ def move(line, size, direction = nil); end
674
+ def parse_range(input); end
675
+ def range(input); end
676
+ def self.description; end
677
+ def self.regexp; end
678
+ def self.short_description; end
679
+ def size(*args, &block); end
680
+ def source_file_formatter; end
681
+ def split_range(str); end
682
+ def upper_bound(range); end
683
+ def valid_range?(first, last); end
684
+ extend Forwardable
685
+ include Byebug::Helpers::FileHelper
686
+ include Byebug::Helpers::ParseHelper
687
+ end
688
+ class Byebug::MethodCommand < Byebug::Command
689
+ def execute; end
690
+ def self.description; end
691
+ def self.regexp; end
692
+ def self.short_description; end
693
+ include Byebug::Helpers::EvalHelper
694
+ end
695
+ class Byebug::NextCommand < Byebug::Command
696
+ def execute; end
697
+ def self.description; end
698
+ def self.regexp; end
699
+ def self.short_description; end
700
+ include Byebug::Helpers::ParseHelper
701
+ end
702
+ class Byebug::PryCommand < Byebug::Command
703
+ def execute; end
704
+ def self.description; end
705
+ def self.regexp; end
706
+ def self.short_description; end
707
+ end
708
+ class Byebug::QuitCommand < Byebug::Command
709
+ def execute; end
710
+ def self.description; end
711
+ def self.regexp; end
712
+ def self.short_description; end
713
+ end
714
+ module Byebug::Helpers::BinHelper
715
+ def executable_file_extensions; end
716
+ def find_executable(path, cmd); end
717
+ def real_executable?(file); end
718
+ def search_paths; end
719
+ def which(cmd); end
720
+ end
721
+ class Byebug::RestartCommand < Byebug::Command
722
+ def execute; end
723
+ def prepend_byebug_bin(cmd); end
724
+ def prepend_ruby_bin(cmd); end
725
+ def self.description; end
726
+ def self.regexp; end
727
+ def self.short_description; end
728
+ include Byebug::Helpers::BinHelper
729
+ include Byebug::Helpers::PathHelper
730
+ end
731
+ class Byebug::SaveCommand < Byebug::Command
732
+ def execute; end
733
+ def save_breakpoints(file); end
734
+ def save_catchpoints(file); end
735
+ def save_displays(file); end
736
+ def save_settings(file); end
737
+ def self.description; end
738
+ def self.regexp; end
739
+ def self.short_description; end
740
+ end
741
+ class Byebug::SetCommand < Byebug::Command
742
+ def execute; end
743
+ def get_onoff(arg, default); end
744
+ def self.description; end
745
+ def self.help; end
746
+ def self.regexp; end
747
+ def self.short_description; end
748
+ include Byebug::Helpers::ParseHelper
749
+ end
750
+ class Byebug::ShowCommand < Byebug::Command
751
+ def execute; end
752
+ def self.description; end
753
+ def self.help; end
754
+ def self.regexp; end
755
+ def self.short_description; end
756
+ end
757
+ class Byebug::SkipCommand < Byebug::Command
758
+ def auto_run; end
759
+ def execute; end
760
+ def initialize_attributes; end
761
+ def keep_execution; end
762
+ def reset_attributes; end
763
+ def self.description; end
764
+ def self.file_line; end
765
+ def self.file_line=(arg0); end
766
+ def self.file_path; end
767
+ def self.file_path=(arg0); end
768
+ def self.previous_autolist; end
769
+ def self.regexp; end
770
+ def self.restore_autolist; end
771
+ def self.setup_autolist(value); end
772
+ def self.short_description; end
773
+ include Byebug::Helpers::ParseHelper
774
+ end
775
+ class Byebug::SourceCommand < Byebug::Command
776
+ def execute; end
777
+ def self.description; end
778
+ def self.regexp; end
779
+ def self.short_description; end
780
+ end
781
+ class Byebug::StepCommand < Byebug::Command
782
+ def execute; end
783
+ def self.description; end
784
+ def self.regexp; end
785
+ def self.short_description; end
786
+ include Byebug::Helpers::ParseHelper
787
+ end
788
+ module Byebug::Helpers::ThreadHelper
789
+ def context_from_thread(thnum); end
790
+ def current_thread?(ctx); end
791
+ def debug_flag(ctx); end
792
+ def display_context(ctx); end
793
+ def location(ctx); end
794
+ def status_flag(ctx); end
795
+ def thread_arguments(ctx); end
796
+ end
797
+ class Byebug::ThreadCommand < Byebug::Command
798
+ def self.description; end
799
+ def self.regexp; end
800
+ def self.short_description; end
801
+ extend Byebug::Subcommands::ClassMethods
802
+ include Byebug::Subcommands
803
+ end
804
+ class Byebug::ThreadCommand::CurrentCommand < Byebug::Command
805
+ def execute; end
806
+ def self.description; end
807
+ def self.regexp; end
808
+ def self.short_description; end
809
+ include Byebug::Helpers::ThreadHelper
810
+ end
811
+ class Byebug::ThreadCommand::ListCommand < Byebug::Command
812
+ def execute; end
813
+ def self.description; end
814
+ def self.regexp; end
815
+ def self.short_description; end
816
+ include Byebug::Helpers::ThreadHelper
817
+ end
818
+ class Byebug::ThreadCommand::ResumeCommand < Byebug::Command
819
+ def execute; end
820
+ def self.description; end
821
+ def self.regexp; end
822
+ def self.short_description; end
823
+ include Byebug::Helpers::ThreadHelper
824
+ end
825
+ class Byebug::ThreadCommand::StopCommand < Byebug::Command
826
+ def execute; end
827
+ def self.description; end
828
+ def self.regexp; end
829
+ def self.short_description; end
830
+ include Byebug::Helpers::ThreadHelper
831
+ end
832
+ class Byebug::ThreadCommand::SwitchCommand < Byebug::Command
833
+ def execute; end
834
+ def self.description; end
835
+ def self.regexp; end
836
+ def self.short_description; end
837
+ include Byebug::Helpers::ThreadHelper
838
+ end
839
+ class Byebug::TracevarCommand < Byebug::Command
840
+ def execute; end
841
+ def on_change(name, value, stop); end
842
+ def self.description; end
843
+ def self.regexp; end
844
+ def self.short_description; end
845
+ end
846
+ class Byebug::UndisplayCommand < Byebug::Command
847
+ def execute; end
848
+ def self.description; end
849
+ def self.regexp; end
850
+ def self.short_description; end
851
+ include Byebug::Helpers::ParseHelper
852
+ end
853
+ class Byebug::UntracevarCommand < Byebug::Command
854
+ def execute; end
855
+ def self.description; end
856
+ def self.regexp; end
857
+ def self.short_description; end
858
+ end
859
+ class Byebug::UpCommand < Byebug::Command
860
+ def execute; end
861
+ def self.description; end
862
+ def self.regexp; end
863
+ def self.short_description; end
864
+ include Byebug::Helpers::FrameHelper
865
+ include Byebug::Helpers::ParseHelper
866
+ end
867
+ module Byebug::Helpers::VarHelper
868
+ def var_args; end
869
+ def var_global; end
870
+ def var_instance(str); end
871
+ def var_list(ary, binding = nil); end
872
+ def var_local; end
873
+ include Byebug::Helpers::EvalHelper
874
+ end
875
+ class Byebug::VarCommand < Byebug::Command
876
+ def self.description; end
877
+ def self.regexp; end
878
+ def self.short_description; end
879
+ extend Byebug::Subcommands::ClassMethods
880
+ include Byebug::Subcommands
881
+ end
882
+ class Byebug::VarCommand::AllCommand < Byebug::Command
883
+ def execute; end
884
+ def self.description; end
885
+ def self.regexp; end
886
+ def self.short_description; end
887
+ include Byebug::Helpers::VarHelper
888
+ end
889
+ class Byebug::VarCommand::ArgsCommand < Byebug::Command
890
+ def execute; end
891
+ def self.description; end
892
+ def self.regexp; end
893
+ def self.short_description; end
894
+ include Byebug::Helpers::VarHelper
895
+ end
896
+ class Byebug::VarCommand::ConstCommand < Byebug::Command
897
+ def execute; end
898
+ def self.description; end
899
+ def self.regexp; end
900
+ def self.short_description; end
901
+ def str_obj; end
902
+ include Byebug::Helpers::EvalHelper
903
+ end
904
+ class Byebug::VarCommand::InstanceCommand < Byebug::Command
905
+ def execute; end
906
+ def self.description; end
907
+ def self.regexp; end
908
+ def self.short_description; end
909
+ include Byebug::Helpers::VarHelper
910
+ end
911
+ class Byebug::VarCommand::LocalCommand < Byebug::Command
912
+ def execute; end
913
+ def self.description; end
914
+ def self.regexp; end
915
+ def self.short_description; end
916
+ include Byebug::Helpers::VarHelper
917
+ end
918
+ class Byebug::VarCommand::GlobalCommand < Byebug::Command
919
+ def execute; end
920
+ def self.description; end
921
+ def self.regexp; end
922
+ def self.short_description; end
923
+ include Byebug::Helpers::VarHelper
924
+ end
925
+ class Byebug::WhereCommand < Byebug::Command
926
+ def execute; end
927
+ def print_backtrace; end
928
+ def self.description; end
929
+ def self.regexp; end
930
+ def self.short_description; end
931
+ include Byebug::Helpers::FrameHelper
932
+ end
933
+ class Byebug::ControlProcessor < Byebug::CommandProcessor
934
+ def commands; end
935
+ def prompt; end
936
+ end
937
+ module Byebug::Remote
938
+ end
939
+ class Byebug::Remote::Server
940
+ def actual_port; end
941
+ def initialize(wait_connection:, &block); end
942
+ def start(host, port); end
943
+ def wait_connection; end
944
+ end
945
+ class Byebug::Remote::Client
946
+ def connect_at(host, port); end
947
+ def initialize(interface); end
948
+ def interface; end
949
+ def socket; end
950
+ def start(host = nil, port = nil); end
951
+ def started?; end
952
+ end
953
+ module Byebug::Printers
954
+ end
955
+ class Byebug::Printers::Base
956
+ def array_of_args(collection, &_block); end
957
+ def contents; end
958
+ def contents_files; end
959
+ def locate(path); end
960
+ def parts(path); end
961
+ def translate(string, args = nil); end
962
+ def type; end
963
+ end
964
+ class Byebug::Printers::Base::MissedPath < StandardError
965
+ end
966
+ class Byebug::Printers::Base::MissedArgument < StandardError
967
+ end
968
+ class Byebug::Printers::Plain < Byebug::Printers::Base
969
+ def contents_files; end
970
+ def print(path, args = nil); end
971
+ def print_collection(path, collection, &block); end
972
+ def print_variables(variables, *_unused); end
973
+ end
974
+ class Byebug::AutoprySetting < Byebug::Setting
975
+ def banner; end
976
+ def initialize; end
977
+ def value; end
978
+ def value=(val); end
979
+ end
980
+ class Byebug::StackOnErrorSetting < Byebug::Setting
981
+ def banner; end
982
+ end
983
+ class Byebug::HistfileSetting < Byebug::Setting
984
+ def banner; end
985
+ def to_s; end
986
+ end
987
+ class Byebug::WidthSetting < Byebug::Setting
988
+ def banner; end
989
+ def to_s; end
990
+ end
991
+ class Byebug::SavefileSetting < Byebug::Setting
992
+ def banner; end
993
+ def to_s; end
994
+ end
995
+ class Byebug::FullpathSetting < Byebug::Setting
996
+ def banner; end
997
+ end
998
+ class Byebug::BasenameSetting < Byebug::Setting
999
+ def banner; end
1000
+ end
1001
+ class Byebug::ListsizeSetting < Byebug::Setting
1002
+ def banner; end
1003
+ def to_s; end
1004
+ end
1005
+ class Byebug::AutolistSetting < Byebug::Setting
1006
+ def banner; end
1007
+ def initialize; end
1008
+ def value; end
1009
+ def value=(val); end
1010
+ end
1011
+ class Byebug::AutosaveSetting < Byebug::Setting
1012
+ def banner; end
1013
+ end
1014
+ class Byebug::CallstyleSetting < Byebug::Setting
1015
+ def banner; end
1016
+ def to_s; end
1017
+ end
1018
+ class Byebug::PostMortemSetting < Byebug::Setting
1019
+ def banner; end
1020
+ def initialize; end
1021
+ def value; end
1022
+ def value=(val); end
1023
+ end
1024
+ class Byebug::HistsizeSetting < Byebug::Setting
1025
+ def banner; end
1026
+ def to_s; end
1027
+ end
1028
+ class Byebug::AutoirbSetting < Byebug::Setting
1029
+ def banner; end
1030
+ def initialize; end
1031
+ def value; end
1032
+ def value=(val); end
1033
+ end
1034
+ class Byebug::LinetraceSetting < Byebug::Setting
1035
+ def banner; end
1036
+ def value; end
1037
+ def value=(val); end
1038
+ end
1039
+ class Exception
1040
+ def __bb_context; end
1041
+ end