integer_writer(name, disp_name=name) private

No documentation

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

Hide source
# File lib/rss/rss.rb, line 459
    def integer_writer(name, disp_name=name)
      module_eval(      def #{name}=(new_value)        if new_value.nil?          @#{name} = new_value        else          if @do_validate            begin              @#{name} = Integer(new_value)            rescue ArgumentError              raise'#{disp_name}', new_value)            end          else            @#{name} = new_value.to_i          end        end      end, *get_file_and_line_from_caller(2))
Register or log in to add new notes.