summaryrefslogtreecommitdiff
path: root/lib/yaml
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-18 10:09:43 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-18 10:09:43 +0000
commitc223709c3b95127e7a0c0b3812ea2e89ecb8646f (patch)
treec369c5bd6e958163f739edc0493f5b6fd0e25a05 /lib/yaml
parent311fdfdfeaceb581c51602f5aeeff40c12567a78 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@5972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/yaml')
-rw-r--r--lib/yaml/rubytypes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yaml/rubytypes.rb b/lib/yaml/rubytypes.rb
index ac772bc073..3fc2437104 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