Class: HoboFields::Types::PasswordString
- Inherits:
-
String
- Object
- String
- HoboFields::Types::PasswordString
- Defined in:
- lib/hobo_fields/types/password_string.rb
Constant Summary collapse
- COLUMN_TYPE =
:string
Instance Method Summary collapse
Instance Method Details
#to_html(xmldoctype = true) ⇒ Object
9 10 11 |
# File 'lib/hobo_fields/types/password_string.rb', line 9 def to_html(xmldoctype = true) I18n.t("hobo.password_hidden", :default => "[password hidden]").html_safe end |