File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
compiled_starters/ruby/app
solutions/ruby/01-dr6/diff/app
starter_templates/ruby/code/app Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
if command == ".dbinfo"
5
5
File . open ( database_file_path , "rb" ) do |database_file |
6
6
# You can use print statements as follows for debugging, they'll be visible when running tests.
7
- warn "Logs from your program will appear here"
7
+ $stderr . puts "Logs from your program will appear here"
8
8
9
9
# Uncomment this to pass the first stage
10
10
# database_file.seek(16) # Skip the first 16 bytes of the header
Original file line number Diff line number Diff line change 5
5
if command == ".dbinfo"
6
6
File.open(database_file_path, "rb") do |database_file|
7
7
- # You can use print statements as follows for debugging, they'll be visible when running tests.
8
- - warn "Logs from your program will appear here"
8
+ - $stderr.puts "Logs from your program will appear here"
9
9
-
10
10
- # Uncomment this to pass the first stage
11
11
- # database_file.seek(16) # Skip the first 16 bytes of the header
Original file line number Diff line number Diff line change 4
4
if command == ".dbinfo"
5
5
File . open ( database_file_path , "rb" ) do |database_file |
6
6
# You can use print statements as follows for debugging, they'll be visible when running tests.
7
- warn "Logs from your program will appear here"
7
+ $stderr . puts "Logs from your program will appear here"
8
8
9
9
# Uncomment this to pass the first stage
10
10
# database_file.seek(16) # Skip the first 16 bytes of the header
You can’t perform that action at this time.
0 commit comments