Sha256: 1b96f4505c02e37e0f14ff4f340f99ea24da84887983245a6e4ae2487460db0c
Contents?: true
Size: 278 Bytes
Versions: 11
Compression:
Stored size: 278 Bytes
Contents
# frozen_string_literal: true require 'active_model/naming' module ActiveModel module Naming # @return [String] def plural_name model_name.human(count: 2) end # @return [String] def singular_name model_name.human(count: 1) end end end
Version data entries
11 entries across 11 versions & 1 rubygems