1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rss.rb, lib/rss/, test/rss/:

- 0.1.9 -> 0.2.0.
  - supported Slash module.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kou 2007-09-15 04:41:28 +00:00
parent b528261ad8
commit 1b56bcce22
19 changed files with 296 additions and 18 deletions

View file

@ -52,13 +52,7 @@ module RSS
end
def def_csv_accessor(klass, full_name)
klass.def_other_element_without_accessor(full_name)
klass.module_eval(<<-EOC, __FILE__, __LINE__ + 1)
attr_reader :#{full_name}
def #{full_name}=(value)
@#{full_name} = Utils::CSV.parse(value)
end
EOC
klass.def_csv_element(full_name)
end
def def_elements_class_accessor(klass, full_name, full_plural_name,