Skip to content

Commit

Permalink
Merge pull request #177 from codeodor/patch-1
Browse files Browse the repository at this point in the history
Always return a RegionCollection from #subregions
  • Loading branch information
ecbypi committed May 26, 2015
2 parents fda3716 + a17ad25 commit f96213e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/carmen/region.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def load_subregions
if Carmen.data_paths.any? {|path| (path + subregion_data_path).exist? }
load_subregions_from_path(subregion_data_path, self)
else
[]
RegionCollection.new([])
end
end

Expand Down

0 comments on commit f96213e

Please sign in to comment.