def_csv_element(name, type=nil) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rss/maker/base.rb, line 159
        def def_csv_element(name, type=nil)
          def_other_element_without_accessor(name)
          attr_reader(name)
          converter = ""
          if type == :integer
            converter = "{|v| Integer(v)}"
          end
          module_eval(            def #{name}=(value)              @#{name} = Utils::CSV.parse(value)#{converter}            end, __FILE__, __LINE__ + 1)
        end
Register or log in to add new notes.