myfreecomm/rexpense-client-ruby

View on GitHub
lib/rexpense/resources/pre_expense.rb

Summary

Maintainability
A
0 mins
Test Coverage

Surrounding space missing in default value assignment.
Open

      def convert(id, params={})

Checks that the equals signs in parameter default assignments have or don't have surrounding space depending on configuration.

Example:

# bad
def some_method(arg1=:default, arg2=nil, arg3=[])
  # do something...
end

# good
def some_method(arg1 = :default, arg2 = nil, arg3 = [])
  # do something...
end

There are no issues that match your filters.

Category
Status