Sha256: f20b9344316bead3df51638b7a89e89dfbdb7b5e011b600ed28817b07c0000f4

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

module WorldFlags
	module Countries
		class << self		
 			attr_writer :en

			def en
				{
					:ar => 'Argentina',
					:br => 'Brazil',
					:gb => 'Great Britain',
					:us => 'United States',				
					:es => 'Spain',
					:gr => 'Greece',
					:it => 'Italy',
					:nl => 'Netherlands',
					:de => 'Germany',
					:dk => 'Denmark',
					:se => 'Sweden',
					:no => 'Norway',
					:fi => 'Finland'
				}
			end

			def da
				{
					:gb => 'England',
					:us => 'USA',				
					:es => 'Spanien',
					:de => 'Tyskland',
					:dk => 'Danmark',
					:se => 'Sverige',
					:no => 'Norge',					
				}
			end
			alias_method :dk, :da			

			def se
				{
					:gb => 'England',
					:us => 'USA',				
					:es => 'Spanien',
					:de => 'Tyskland',
					:dk => 'Danmark',
					:se => 'Sverige',
					:no => 'Norge',					
				}
			end

			def no
				{
					:gb => 'England',
					:us => 'USA',				
					:es => 'Spanien',
					:de => 'Tyskland',
					:dk => 'Danmark',
					:se => 'Sverige',
					:no => 'Norge',					
				}
			end
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
world-flags-0.3.1 lib/world_flags/countries.rb