class ListOfCountries::Demonyms

Attributes

female[R]
male[R]

Public Class Methods

new(data) click to toggle source
# File lib/list_of_countries/demonyms.rb, line 8
def initialize(data)
  eng = data.fetch("eng")
  @female = eng.fetch("f")
  @male = eng.fetch("m")
end