Sha256: 0dca15c6c33c3249cb9b3fa549d83e4fbdeaeaf8034950c969912ab7538a2724

Contents?: true

Size: 236 Bytes

Versions: 1

Compression:

Stored size: 236 Bytes

Contents

require "unicode_country_flags/country_flags"
module UnicodeCountryFlags
  module Helpers
    def unicode_country_flag_of(code)
      flag = UnicodeCountryFlags::CountryFlags.flag_of(code)
      flag.html_safe if flag
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unicode_country_flags-0.1.2 lib/unicode_country_flags/helpers.rb