Sha256: 29b1f05d2a9fe0f8dccb5cc2f5b063635d21548510cbc2bd28444cccb4a377d2

Contents?: true

Size: 120 Bytes

Versions: 13

Compression:

Stored size: 120 Bytes

Contents

module ActiveModel
  Name.class_eval do
    def human(options={})
      _(@klass.humanize_class_name)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gettext_i18n_rails-1.2.0 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-1.1.0 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-1.0.5 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-1.0.4 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-1.0.3 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-1.0.2 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-1.0.1 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-1.0.0 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-0.10.1 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-0.10.0 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-0.9.4 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-0.9.3 lib/gettext_i18n_rails/active_model/name.rb
gettext_i18n_rails-0.9.2 lib/gettext_i18n_rails/active_model/name.rb