[DOC] get rid of parsing as TIDYLINK unintentionally
This commit is contained in:
parent
e73e4b3e9f
commit
bc646e6715
@ -90,7 +90,7 @@ with all sufficient information, see the ChangeLog file.
|
|||||||
|
|
||||||
* Method
|
* Method
|
||||||
* New methods:
|
* New methods:
|
||||||
* Method#curry([arity]) returns a curried Proc.
|
* Method#curry([ arity ]) returns a curried Proc.
|
||||||
* Method#super_method returns a Method of superclass, which would be called
|
* Method#super_method returns a Method of superclass, which would be called
|
||||||
when super is used.
|
when super is used.
|
||||||
|
|
||||||
|
@ -271,7 +271,7 @@ require "irb/easter-egg"
|
|||||||
# On the other hand, each conf in IRB@Command+line+options is used to
|
# On the other hand, each conf in IRB@Command+line+options is used to
|
||||||
# individually configure IRB.irb.
|
# individually configure IRB.irb.
|
||||||
#
|
#
|
||||||
# If a proc is set for IRB.conf[:IRB_RC], its will be invoked after execution
|
# If a proc is set for <code>IRB.conf[:IRB_RC]</code>, its will be invoked after execution
|
||||||
# of that proc with the context of the current session as its argument. Each
|
# of that proc with the context of the current session as its argument. Each
|
||||||
# session can be configured using this mechanism.
|
# session can be configured using this mechanism.
|
||||||
#
|
#
|
||||||
@ -399,7 +399,7 @@ module IRB
|
|||||||
irb.run(@CONF)
|
irb.run(@CONF)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Calls each event hook of IRB.conf[:AT_EXIT] when the current session quits.
|
# Calls each event hook of <code>IRB.conf[:TA_EXIT]</code> when the current session quits.
|
||||||
def IRB.irb_at_exit
|
def IRB.irb_at_exit
|
||||||
@CONF[:AT_EXIT].each{|hook| hook.call}
|
@CONF[:AT_EXIT].each{|hook| hook.call}
|
||||||
end
|
end
|
||||||
|
@ -240,7 +240,7 @@ module IRB
|
|||||||
attr_accessor :ignore_eof
|
attr_accessor :ignore_eof
|
||||||
# Whether to echo the return value to output or not.
|
# Whether to echo the return value to output or not.
|
||||||
#
|
#
|
||||||
# Uses IRB.conf[:ECHO] if available, or defaults to +true+.
|
# Uses <code>IRB.conf[:ECHO]</code> if available, or defaults to +true+.
|
||||||
#
|
#
|
||||||
# puts "hello"
|
# puts "hello"
|
||||||
# # hello
|
# # hello
|
||||||
@ -251,7 +251,7 @@ module IRB
|
|||||||
attr_accessor :echo
|
attr_accessor :echo
|
||||||
# Whether to echo for assignment expressions
|
# Whether to echo for assignment expressions
|
||||||
#
|
#
|
||||||
# Uses IRB.conf[:ECHO_ON_ASSIGNMENT] if available, or defaults to +false+.
|
# Uses <code>IRB.conf[:ECHO_ON_ASSIGNMENT]</code> if available, or defaults to +false+.
|
||||||
#
|
#
|
||||||
# a = "omg"
|
# a = "omg"
|
||||||
# IRB.CurrentContext.echo_on_assignment = true
|
# IRB.CurrentContext.echo_on_assignment = true
|
||||||
@ -260,7 +260,7 @@ module IRB
|
|||||||
attr_accessor :echo_on_assignment
|
attr_accessor :echo_on_assignment
|
||||||
# Whether a newline is put before multiline output.
|
# Whether a newline is put before multiline output.
|
||||||
#
|
#
|
||||||
# Uses IRB.conf[:NEWLINE_BEFORE_MULTILINE_OUTPUT] if available,
|
# Uses <code>IRB.conf[:NEWLINE_BEFORE_MULTILINE_OUTPUT]</code> if available,
|
||||||
# or defaults to +true+.
|
# or defaults to +true+.
|
||||||
#
|
#
|
||||||
# "abc\ndef"
|
# "abc\ndef"
|
||||||
|
@ -47,7 +47,7 @@ module IRB
|
|||||||
alias use_loader? use_loader
|
alias use_loader? use_loader
|
||||||
|
|
||||||
remove_method :use_loader= if method_defined?(:use_loader=)
|
remove_method :use_loader= if method_defined?(:use_loader=)
|
||||||
# Sets IRB.conf[:USE_LOADER]
|
# Sets <code>IRB.conf[:USE_LOADER]</code>
|
||||||
#
|
#
|
||||||
# See #use_loader for more information.
|
# See #use_loader for more information.
|
||||||
def use_loader=(opt)
|
def use_loader=(opt)
|
||||||
|
@ -744,7 +744,7 @@ module OpenURI
|
|||||||
OpenURI.open_uri(self, *rest, &block)
|
OpenURI.open_uri(self, *rest, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# OpenURI::OpenRead#read([options]) reads a content referenced by self and
|
# OpenURI::OpenRead#read([ options ]) reads a content referenced by self and
|
||||||
# returns the content as string.
|
# returns the content as string.
|
||||||
# The string is extended with OpenURI::Meta.
|
# The string is extended with OpenURI::Meta.
|
||||||
# The argument +options+ is same as OpenURI::OpenRead#open.
|
# The argument +options+ is same as OpenURI::OpenRead#open.
|
||||||
|
6
re.c
6
re.c
@ -924,12 +924,12 @@ make_regexp(const char *s, long len, rb_encoding *enc, int flags, onig_errmsg_bu
|
|||||||
* aliased as global variables:
|
* aliased as global variables:
|
||||||
*
|
*
|
||||||
* * <code>$~</code> is Regexp.last_match;
|
* * <code>$~</code> is Regexp.last_match;
|
||||||
* * <code>$&</code> is Regexp.last_match<code>[0]</code>;
|
* * <code>$&</code> is Regexp.last_match<code>[ 0 ]</code>;
|
||||||
* * <code>$1</code>, <code>$2</code>, and so on are
|
* * <code>$1</code>, <code>$2</code>, and so on are
|
||||||
* Regexp.last_match<code>[i]</code> (captures by number);
|
* Regexp.last_match<code>[ i ]</code> (captures by number);
|
||||||
* * <code>$`</code> is Regexp.last_match<code>.pre_match</code>;
|
* * <code>$`</code> is Regexp.last_match<code>.pre_match</code>;
|
||||||
* * <code>$'</code> is Regexp.last_match<code>.post_match</code>;
|
* * <code>$'</code> is Regexp.last_match<code>.post_match</code>;
|
||||||
* * <code>$+</code> is Regexp.last_match<code>[-1]</code> (the last capture).
|
* * <code>$+</code> is Regexp.last_match<code>[ -1 ]</code> (the last capture).
|
||||||
*
|
*
|
||||||
* See also "Special global variables" section in Regexp documentation.
|
* See also "Special global variables" section in Regexp documentation.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user