Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Fix style issues detected by HoundCI
Browse files Browse the repository at this point in the history
  • Loading branch information
allolex committed Apr 21, 2014
1 parent 6eb460d commit 17779ff
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/nacre/order/row/amount.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def value=(amount)
end

def value
"%0.6f" % [(@value / 1000000).to_f]
'%0.6f' % [(@value / 1000000).to_f]
end

def value_raw
Expand Down
2 changes: 1 addition & 1 deletion lib/nacre/order/row/quantity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def magnitude=(value)
end

def magnitude
"%0.6f" % [@magnitude]
'%0.6f' % [@magnitude]
end

end
Expand Down
2 changes: 1 addition & 1 deletion lib/nacre/order/row/value.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def tax_rate=(value)
end

def tax_rate
"%.6f" % [(@tax_rate / 1000000).to_f]
'%.6f' % [(@tax_rate / 1000000).to_f]
end

def tax_rate_raw
Expand Down
1 change: 0 additions & 1 deletion spec/lib/nacre/order/row/product_options_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@

it_should_behave_like 'Parametrizable'
end

1 change: 0 additions & 1 deletion spec/lib/nacre/order/row/quantity_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@

it_should_behave_like 'Parametrizable'
end

0 comments on commit 17779ff

Please sign in to comment.