Sha256: 915752dff3f07d1fe9bc5a70300d1e8b7218014789ca48cbd16da9c240918e98

Contents?: true

Size: 327 Bytes

Versions: 8

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

class Match < ActiveRecord::Base
  normalizy :alone
  normalizy :downcase_field      , with: :downcase
  normalizy :trim_side_left      , with: { trim: { side: :left } }
  normalizy :trim_side_left_array, with: [{ trim: { side: :left } }]
  normalizy :downcase_field_array, with: [:downcase]
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
normalizy-1.5.0 spec/support/models/match.rb
normalizy-1.4.0 spec/support/models/match.rb
normalizy-1.3.0 spec/support/models/match.rb
normalizy-1.2.0 spec/support/models/match.rb
normalizy-1.1.1 spec/support/models/match.rb
normalizy-1.1.0 spec/support/models/match.rb
normalizy-1.0.1 spec/support/models/match.rb
normalizy-1.0.0 spec/support/models/match.rb