Sha256: 1c320fd377928f40d588dc9f8840a7a2ead4d6d453939711a1082608ee2a60b1
Contents?: true
Size: 189 Bytes
Versions: 1
Compression:
Stored size: 189 Bytes
Contents
# frozen_string_literal: true class User < ActiveRecord::Base normalizy :name def custom_reverse(input, options = {}) "'#{input.reverse}' to '#{options[:object].name}'" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
normalizy-0.2.0 | spec/support/models/user.rb |