lib/world_flags/countries.rb in world-flags-0.3.4 vs lib/world_flags/countries.rb in world-flags-0.3.5

- old
+ new

@@ -1,60 +1,57 @@ module WorldFlags class Countries < Hashie::Mash def en - @en ||= { + { :ar => 'Argentina', :br => 'Brazil', - :gb => 'Great Britain', + :gb => 'United Kingdom', :us => 'United States', :es => 'Spain', :gr => 'Greece', :it => 'Italy', :nl => 'Netherlands', :de => 'Germany', :dk => 'Denmark', - :sv => 'Sweden', + :se => 'Sweden', :no => 'Norway', :fi => 'Finland' } end def da - @da ||= { + { :gb => 'England', :us => 'USA', :es => 'Spanien', :de => 'Tyskland', :dk => 'Danmark', - :sv => 'Sverige', + :se => 'Sverige', :no => 'Norge', } end - alias_method :dk, :da - def se + def sv { :gb => 'England', :us => 'USA', :es => 'Spanien', :de => 'Tyskland', :dk => 'Danmark', - :sv => 'Sverige', + :se => 'Sverige', :no => 'Norge', } end - alias_method :sv, :se - def no + def nb { :gb => 'England', :us => 'USA', :es => 'Spanien', :de => 'Tyskland', :dk => 'Danmark', :se => 'Sverige', :no => 'Norge' } end - alias_method :nb, :no end end \ No newline at end of file