Sha256: 04550c7c5a38c02c3dd7ae4e19d48958564ef0b6e3998bc8f8f00cae2d520991

Contents?: true

Size: 202 Bytes

Versions: 1

Compression:

Stored size: 202 Bytes

Contents

module HoboFields
  
  class PasswordString < String
    
    COLUMN_TYPE = :string
    
    HoboFields.register_type(:password, self)
    
    def to_html
      "[password hidden]"
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hobofields-0.7.5 lib/hobo_fields/password_string.rb