]> git.openstreetmap.org Git - rails.git/blobdiff - lib/osm_community_index/local_chapter.rb
Pay heed to rubocop
[rails.git] / lib / osm_community_index / local_chapter.rb
index 6b203afe8b24af7038d580b5637d6aa4cb79a699..fc87f64d2a8972cae7ae366dfd97acf09a82b8ee 100644 (file)
@@ -1,6 +1,5 @@
 module OsmCommunityIndex
   class LocalChapter
 module OsmCommunityIndex
   class LocalChapter
-
     attr_reader :id, :name, :url
 
     @localised_chapters = {}
     attr_reader :id, :name, :url
 
     @localised_chapters = {}
@@ -15,8 +14,6 @@ module OsmCommunityIndex
       @localised_chapters[locale] ||= load_local_chapters(locale)
     end
 
       @localised_chapters[locale] ||= load_local_chapters(locale)
     end
 
-    protected
-
     def self.load_local_chapters(locale)
       community_index = OsmCommunityIndex.community_index
       localised_strings = OsmCommunityIndex.localised_strings(locale)
     def self.load_local_chapters(locale)
       community_index = OsmCommunityIndex.community_index
       localised_strings = OsmCommunityIndex.localised_strings(locale)
@@ -33,7 +30,5 @@ module OsmCommunityIndex
       end
       local_chapters
     end
       end
       local_chapters
     end
-
   end
   end
-
-end
\ No newline at end of file
+end