lib/lucid/interface_rb/rb_world.rb in lucid-0.0.6 vs lib/lucid/interface_rb/rb_world.rb in lucid-0.0.7
- old
+ new
@@ -75,15 +75,9 @@
def doc_string(string_without_triple_quotes, content_type='', line_offset=0)
# TODO: rename this method to multiline_string
@__lucid_runtime.doc_string(string_without_triple_quotes, content_type, line_offset)
end
- # @deprecated Use {#puts} instead.
- def announce(*messages)
- STDERR.puts AnsiEscapes.failed + "WARNING: #announce is deprecated. Use #puts instead:" + caller[0] + AnsiEscapes.reset
- puts(*messages)
- end
-
# Print a message to the output.
#
# @note Lucid might surprise you with the behavior of this method. Instead
# of sending the output directly to STDOUT, Lucid will intercept and cache
# the message until the current step has finished, and then display it.