* misc/ruby-mode.el (ruby-expr-beg): support $! at the end of

expression.   [ruby-dev:27868]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2005-11-30 04:50:04 +00:00
Родитель 0711cf3cd8
Коммит cced56ef7c
6 изменённых файлов: 15 добавлений и 16 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Wed Nov 30 13:43:07 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* misc/ruby-mode.el (ruby-expr-beg): support $! at the end of
expression. [ruby-dev:27868]
Mon Nov 28 20:24:22 2005 Tanaka Akira <akr@m17n.org>
* lib/pp.rb (PP::PPMethods#object_address_group): mask an address with
@ -54,6 +59,11 @@ Sat Nov 26 19:57:45 2005 WATANABE Hirofumi <eban@ruby-lang.org>
* dln.c (conv_to_posix_path): should initialize posix.
Fri Nov 25 20:34:56 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/xmlrpc/datetime.rb (DateTime::to_a): comparison with non
array-convertible object must return false.
Fri Nov 25 14:34:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_max): treat end exclusion without iteration if

Просмотреть файл

@ -305,13 +305,8 @@ class Complex < Numeric
Complex(@real, -@image)
end
alias conj conjugate
#
# Compares the absolute values of the two numbers.
#
def <=> (other)
self.abs <=> other.abs
end
undef <=>
#
# Test for numerical equality (<tt>a == a + 0<i>i</i></tt>).

Просмотреть файл

@ -1549,7 +1549,7 @@ module DRb
end
ary.collect(&@obj)[0]
else
@obj.__send__(@msg_id, *@argv)
@obj.funcall(@msg_id, *@argv)
end
end

Просмотреть файл

@ -127,7 +127,7 @@ class DateTime
end
def ==(o)
Array(self) == Array(o)
self.to_a == Array(o) rescue false
end
end

Просмотреть файл

@ -318,7 +318,7 @@ The variable ruby-indent-level controls the amount of indentation.
(and (looking-at "[!?]")
(or (not (eq option 'modifier))
(bolp)
(save-excursion (forward-char -1) (looking-at "\\Sw"))))
(save-excursion (forward-char -1) (looking-at "\\Sw$"))))
(and (looking-at ruby-symbol-re)
(skip-chars-backward ruby-symbol-chars)
(cond

Просмотреть файл

@ -11,12 +11,6 @@ class TestShellwords < Test::Unit::TestCase
end
def test_not_string
assert_raises ArgumentError do
shellwords(@not_string)
end
end
def test_string
assert_instance_of(Array, shellwords(@cmd))
assert_equal(4, shellwords(@cmd).length)