Sha256: b08f53968a9546cd1c61528b5534369cdfbb0d3c0eac62cd25c6022799c70bac

Contents?: true

Size: 240 Bytes

Versions: 5

Compression:

Stored size: 240 Bytes

Contents

module HoboFields
  module Types
    class PasswordString < String

      COLUMN_TYPE = :string

      HoboFields.register_type(:password, self)

      def to_html(xmldoctype = true)
        "[password hidden]"
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hobo_fields-1.3.0.pre14 lib/hobo_fields/types/password_string.rb
hobo_fields-1.3.0.pre13 lib/hobo_fields/types/password_string.rb
hobo_fields-1.3.0.pre12 lib/hobo_fields/types/password_string.rb
hobo_fields-1.3.0.pre11 lib/hobo_fields/types/password_string.rb
hobo_fields-1.3.0.pre10 lib/hobo_fields/types/password_string.rb