remove tailing spaces

This commit is contained in:
Newell Zhu
2016-05-17 19:53:36 +08:00
parent 4f28ed3cd3
commit 6c626ccc7a
4 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ Method | HTTP request | Description
# load the gem
require '{{{gemName}}}'
{{#hasAuthMethods}}
# setup authorization
# setup authorization
{{{moduleName}}}.configure do |config|{{#authMethods}}{{#isBasic}}
# Configure HTTP basic authorization: {{{name}}}
config.username = 'YOUR USERNAME'

View File

@@ -86,7 +86,7 @@
# Outputs non-array value in the form of hash
# For object, use to_hash. Otherwise, just return the value
# @param [Object] value Any valid value
# @param [Object] value Any valid value
# @return [Hash] Returns the value in the form of hash
def _to_hash(value)
if value.is_a?(Array)

View File

@@ -28,7 +28,7 @@ git init
# Adds the files in the local repository and stages them for commit.
git add .
# Commits the tracked changes and prepares them to be pushed to a remote repository.
# Commits the tracked changes and prepares them to be pushed to a remote repository.
git commit -m "$release_note"
# Sets the new remote

View File

@@ -216,7 +216,7 @@ module {{moduleName}}{{#models}}{{#model}}{{#description}}
{{/isEnum}}
{{/vars}}
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class{{#vars}} &&
@@ -224,7 +224,7 @@ module {{moduleName}}{{#models}}{{#model}}{{#description}}
end
# @see the `==` method
# @param [Object] Object to be compared
# @param [Object] Object to be compared
def eql?(o)
self == o
end