Skip to content

Commit

Permalink
Another strings fix for Ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Staal committed Jan 8, 2012
1 parent 45db3aa commit e9a2ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wash_out/dispatcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def _parse_soap_parameters

@_params = HashWithIndifferentAccess.new
(xml_data || {}).map do |opt, value|
unless opt.to_s[0] == '@'
unless opt.to_s.starts_with? '@'
param = action_spec[:in].find { |param| param.name.underscore.to_sym == opt }
raise SOAPError, "unknown parameter #{opt}" unless param

Expand Down

0 comments on commit e9a2ec0

Please sign in to comment.