Method: ContentData::ContentData#stats_by_location
- Defined in:
- lib/content_data/content_data.rb
#stats_by_location(location) ⇒ Object
170 171 172 173 174 175 176 177 |
# File 'lib/content_data/content_data.rb', line 170 def stats_by_location(location) @contents_info.each_value { |content_db| if content_db[1].has_key?(location) return [content_db[0], content_db[1][location]] end } return nil end |