Module: Flagmoji
- Extended by:
- Flagmoji
- Included in:
- Flagmoji
- Defined in:
- lib/flagmoji.rb,
lib/flagmoji/country.rb,
lib/flagmoji/version.rb
Defined Under Namespace
Classes: Country
Constant Summary collapse
- VERSION =
"0.1.0"
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
12 13 14 |
# File 'lib/flagmoji.rb', line 12 def all @all ||= map_data_to_country end |
#data_file ⇒ Object
8 9 10 |
# File 'lib/flagmoji.rb', line 8 def data_file File.("../../data/flags.json", __FILE__) end |