Sha256: a93257b5c3e13f914f3a0180a1c108f3747b32f65cb94910b8d424ee6768489c

Contents?: true

Size: 347 Bytes

Versions: 17

Compression:

Stored size: 347 Bytes

Contents

module Mobility
  module Backend
=begin

Module which stringifies the locale passed in to read and write methods.

=end
    module StringifyLocale
      def read(locale, options = {})
        super(locale.to_s, options)
      end

      def write(locale, value, options = {})
        super(locale.to_s, value, options)
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
mobility-0.5.1 lib/mobility/backend/stringify_locale.rb
mobility-0.5.0 lib/mobility/backend/stringify_locale.rb
mobility-0.4.3 lib/mobility/backend/stringify_locale.rb
mobility-0.4.2 lib/mobility/backend/stringify_locale.rb
mobility-0.4.1 lib/mobility/backend/stringify_locale.rb
mobility-0.4.0 lib/mobility/backend/stringify_locale.rb
mobility-0.3.6 lib/mobility/backend/stringify_locale.rb
mobility-0.3.5 lib/mobility/backend/stringify_locale.rb
mobility-0.3.4 lib/mobility/backend/stringify_locale.rb
mobility-0.3.3 lib/mobility/backend/stringify_locale.rb
mobility-0.3.2 lib/mobility/backend/stringify_locale.rb
mobility-0.3.1 lib/mobility/backend/stringify_locale.rb
mobility-0.3.0 lib/mobility/backend/stringify_locale.rb
mobility-0.2.3 lib/mobility/backend/stringify_locale.rb
mobility-0.2.2 lib/mobility/backend/stringify_locale.rb
mobility-0.2.1 lib/mobility/backend/stringify_locale.rb
mobility-0.2.0 lib/mobility/backend/stringify_locale.rb