Skip to content

Commit da022e7

Browse files
committed
Improve based on feedback
1 parent 0751ce2 commit da022e7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiled_starters/ruby/app/main.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if command == ".dbinfo"
55
File.open(database_file_path, "rb") do |database_file|
66
# 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"
88

99
# Uncomment this to pass the first stage
1010
# database_file.seek(16) # Skip the first 16 bytes of the header

solutions/ruby/01-dr6/diff/app/main.rb.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
if command == ".dbinfo"
66
File.open(database_file_path, "rb") do |database_file|
77
- # 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"
99
-
1010
- # Uncomment this to pass the first stage
1111
- # database_file.seek(16) # Skip the first 16 bytes of the header

starter_templates/ruby/code/app/main.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if command == ".dbinfo"
55
File.open(database_file_path, "rb") do |database_file|
66
# 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"
88

99
# Uncomment this to pass the first stage
1010
# database_file.seek(16) # Skip the first 16 bytes of the header

0 commit comments

Comments
 (0)