aboutsummaryrefslogtreecommitdiffstats
path: root/lib/yaml/types.rb
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-15 18:36:51 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-15 18:36:51 +0000
commitc0978692df91f23d4dd32f3fe247763173ed61a5 (patch)
treebc6622313864e0ce66b5ca07c0999f4f111f76c8 /lib/yaml/types.rb
parent91e0600535329f9fda341ebc876b6ddef9c0ea8c (diff)
downloadruby-c0978692df91f23d4dd32f3fe247763173ed61a5.tar.gz
* ext/syck/rubyext.c: Node#value defined twice.
* lib/yaml/: several method redefinitions causing warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/yaml/types.rb')
-rw-r--r--lib/yaml/types.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/yaml/types.rb b/lib/yaml/types.rb
index 4396e36df2..3871c628fe 100644
--- a/lib/yaml/types.rb
+++ b/lib/yaml/types.rb
@@ -10,7 +10,6 @@ module YAML
#
class PrivateType
def self.tag_subclasses?; false; end
- attr_accessor :type_id, :value
verbose, $VERBOSE = $VERBOSE, nil
def initialize( type, val )
@type_id = type; @value = val
@@ -28,7 +27,6 @@ module YAML
#
class DomainType
def self.tag_subclasses?; false; end
- attr_accessor :domain, :type_id, :value
verbose, $VERBOSE = $VERBOSE, nil
def initialize( domain, type, val )
@domain = domain; @type_id = type; @value = val