Sha256: f52f3abb76e4265ca24628fe3ba848f01516ccf1a6b056afdf4baa081ddafb41
Contents?: true
Size: 248 Bytes
Versions: 6
Compression:
Stored size: 248 Bytes
Contents
module MerbAdmin class AbstractModel module GenericSupport def to_param model.to_s.snake_case.gsub("::", "__") end def pretty_name model.to_s.snake_case.gsub('_', ' ').capitalize end end end end
Version data entries
6 entries across 6 versions & 1 rubygems