diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-18 10:09:43 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-18 10:09:43 +0000 |
| commit | 4b99a4791e058ecc2d1ca94b55cc7c606afa4db9 (patch) | |
| tree | c369c5bd6e958163f739edc0493f5b6fd0e25a05 /lib/yaml | |
| parent | 18bf9e5fd914180b77c42e566b3114cdfd8b5f77 (diff) | |
| download | ruby-4b99a4791e058ecc2d1ca94b55cc7c606afa4db9.tar.gz ruby-4b99a4791e058ecc2d1ca94b55cc7c606afa4db9.tar.xz ruby-4b99a4791e058ecc2d1ca94b55cc7c606afa4db9.zip | |
* eval.c (proc_eq): avoid false positive by using scope and
dyna_vars. no longer use frame.uniq.
* eval.c (proc_arity): arity is now defined as number of
parameters that would not be ignored. i.e. Proc.new{}.arity
returns zero. update test suites too.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/yaml')
| -rw-r--r-- | lib/yaml/rubytypes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yaml/rubytypes.rb b/lib/yaml/rubytypes.rb index ac772bc07..3fc243710 100644 --- a/lib/yaml/rubytypes.rb +++ b/lib/yaml/rubytypes.rb @@ -353,7 +353,7 @@ class Range def to_yaml( opts = {} ) YAML::quick_emit( nil, opts ) { |out| out << "!ruby/range " - self.to_s.to_yaml( :Emitter => out ) + self.to_s.to_yaml(:Emitter => out) } end end |
