Skip to content

Commit

Permalink
Make whitespace more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
tjarratt committed Dec 9, 2013
1 parent 4c5db2d commit 3942790
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/wasabi/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def process_type(namespace, type, name)

[ :nillable, :minOccurs, :maxOccurs ].each do |attr|
if v = inner.attribute(attr.to_s)
@types[name][element_name][attr] = v.to_s
@types[name][element_name][attr] = v.to_s
end
end

Expand Down Expand Up @@ -226,11 +226,11 @@ def parse_deferred_types
end

def input_for(operation)
input_output_for(operation, 'input')
input_output_for(operation, 'input')
end

def output_for(operation)
input_output_for(operation, 'output')
input_output_for(operation, 'output')
end

def input_output_for(operation, input_output)
Expand All @@ -244,7 +244,7 @@ def input_output_for(operation, input_output)
end

port_type_input_output = port_type_operation &&
port_type_operation.element_children.find { |node| node.name == input_output }
port_type_operation.element_children.find { |node| node.name == input_output }

# TODO: Stupid fix for missing support for imports.
# Sometimes portTypes are actually included in a separate WSDL.
Expand Down Expand Up @@ -302,7 +302,5 @@ def sections

@sections = sections
end

end

end

0 comments on commit 3942790

Please sign in to comment.