Sha256: 6734de667bb847a2f1aa59f9df2df92d8065dac7375dea90af5c917414d5ede4
Contents?: true
Size: 252 Bytes
Versions: 24
Compression:
Stored size: 252 Bytes
Contents
module Renalware module AttributeNameHelper # disables :reek:FeatureEnvy def attr_name(model, attr, suffix: nil) klass = model.is_a?(Class) ? model : model.class klass.human_attribute_name(attr) + String(suffix) end end end
Version data entries
24 entries across 24 versions & 1 rubygems