rb_define_alias (c, "size", "length");
rb_define_alias (c, "each_pair", "each");
+ rb_define_alias (c, "key?", "has_key?");
+ rb_define_alias (c, "include?", "has_key?");
+ rb_define_alias (c, "member?", "has_key?");
id_casecmp = rb_intern ("casecmp");
id_replace = rb_intern ("replace");
Ogg::Vorbis::Tagger.open(@ogg_buf) do |t|
assert(t.comments.has_key?("artist"))
assert(!t.comments.has_key?("foo"))
+
+ assert(t.comments.key?("artist"))
+ assert(t.comments.include?("artist"))
+ assert(t.comments.member?("artist"))
end
end