module OsmCommunityIndex
class LocalChapter
-
attr_reader :id, :name, :url
@localised_chapters = {}
@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)
end
local_chapters
end
-
end
-
-end
\ No newline at end of file
+end