~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to lib/soap/property.rb

  • Committer: Bazaar Package Importer
  • Author(s): akira yamada
  • Date: 2007-05-21 14:00:19 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070521140019-ui4zd0v80duktssk
Tags: 1.9.0+20070521-1
new upstream snapshot. (2006-07-21)  (Closes: #414856, #388344)

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
  LINE_REGEXP = Regexp.new("^#{DEF_REGSRC}$")
71
71
  def load(stream)
72
72
    key_prefix = ""
73
 
    stream.each_with_index do |line, lineno|
 
73
    stream.lines.each_with_index do |line, lineno|
74
74
      line.sub!(/\r?\n\z/, '')
75
75
      case line
76
76
      when COMMENT_REGEXP