lib/rib/api.rb in rib-1.5.4 vs lib/rib/api.rb in rib-1.6.0

- old
+ new

@@ -81,9 +81,13 @@ else eval_binding.instance_eval(input, "(#{name})", line) end end + def puts str='' + super + end + # Print result using #format_result def print_result result puts(format_result(result)) rescue StandardError, SyntaxError => e warn("Error while printing result:\n #{format_error(e)}")