зеркало из https://github.com/github/ruby.git
* lib/irb/notifier.rb: [Doc] Fix typo
* ext/json/lib/json/common.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
0d72c6655c
Коммит
da66677061
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 27 21:43:00 2013 Akira Matsuda <ronnie@dio.jp>
|
||||
|
||||
* lib/irb/notifier.rb: [Doc] Fix typo
|
||||
* ext/json/lib/json/common.rb: Ditto.
|
||||
|
||||
Tue Nov 27 18:04:57 2013 Akira Matsuda <ronnie@dio.jp>
|
||||
|
||||
* lib/irb/notifier.rb: Fix typo
|
||||
|
|
|
@ -448,7 +448,7 @@ module ::Kernel
|
|||
nil
|
||||
end
|
||||
|
||||
# Ouputs _objs_ to STDOUT as JSON strings in a pretty format, with
|
||||
# Outputs _objs_ to STDOUT as JSON strings in a pretty format, with
|
||||
# indentation and over many lines.
|
||||
def jj(*objs)
|
||||
objs.each do |obj|
|
||||
|
|
|
@ -26,7 +26,7 @@ module IRB
|
|||
#
|
||||
# The optional +prefix+ will be appended to all objects being inspected
|
||||
# during output, using the given +output_method+ as the output source. If
|
||||
# no +output_method+ is given, StdioOuputMethod will be used, and all
|
||||
# no +output_method+ is given, StdioOutputMethod will be used, and all
|
||||
# expressions will be sent directly to STDOUT without any additional
|
||||
# formatting.
|
||||
def def_notifier(prefix = "", output_method = StdioOutputMethod.new)
|
||||
|
|
Загрузка…
Ссылка в новой задаче