mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
NEWS: codify keywords and callback methods [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8586f021f8
commit
15533bb40a
1 changed files with 8 additions and 8 deletions
16
NEWS
16
NEWS
|
@ -66,13 +66,13 @@ sufficient information, see the ChangeLog file or Redmine
|
||||||
|
|
||||||
* added Binding#source_location. [Feature #14230]
|
* added Binding#source_location. [Feature #14230]
|
||||||
|
|
||||||
This method returns the source location of binding, a 2-element
|
This method returns the source location of the binding, a 2-element
|
||||||
array of __FILE__ and __LINE__. Traditionally, the same
|
array of <code>__FILE__</code> and <code>__LINE__</code>.
|
||||||
information could be retrieved by <code>eval("[__FILE__, __LINE__]",
|
Traditionally, the same information could be retrieved by
|
||||||
binding)</code>, but we are planning to change this behavior so that
|
<code>eval("[__FILE__, __LINE__]", binding)</code>, but we are
|
||||||
Kernel#eval ignores binding's source location [Bug #4352].
|
planning to change this behavior so that Kernel#eval ignores
|
||||||
So, users should use this newly-introduced method instead of
|
binding's source location [Bug #4352]. So, users should use this
|
||||||
Kernel#eval.
|
newly-introduced method instead of Kernel#eval.
|
||||||
|
|
||||||
[Dir]
|
[Dir]
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@ sufficient information, see the ChangeLog file or Redmine
|
||||||
|
|
||||||
[Incompatible changes]
|
[Incompatible changes]
|
||||||
|
|
||||||
* Range#=== now uses #cover? instead of #include? method. [Feature #14575]
|
* Range#=== now uses +#cover?+ instead of +#include?+ method. [Feature #14575]
|
||||||
* Range#cover? now accepts Range object. [Feature #14473]
|
* Range#cover? now accepts Range object. [Feature #14473]
|
||||||
* Range#step now returns an instance of Enumerator::ArithmeticSequence
|
* Range#step now returns an instance of Enumerator::ArithmeticSequence
|
||||||
class rather than one of Enumerator class.
|
class rather than one of Enumerator class.
|
||||||
|
|
Loading…
Reference in a new issue