Commit caf44d7dcad2a4ce5f602a139b443be7d790cb99
Committed by
Alessandro Palmeira
1 parent
43a70fa3
Exists in
master
and in
29 other branches
[Mezuro] Fixed minor warning
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/mezuro/lib/kalibro/project.rb
... | ... | @@ -5,7 +5,7 @@ class Kalibro::Project < Kalibro::Model |
5 | 5 | def self.all |
6 | 6 | response = request(:all_projects)[:project] |
7 | 7 | response = [] if response.nil? |
8 | - response = [response] if response.is_a? (Hash) | |
8 | + response = [response] if response.is_a?(Hash) | |
9 | 9 | response.map {|project| new project} |
10 | 10 | end |
11 | 11 | ... | ... |