Class: AlPassword
Overview
パスワードウィジェット
Instance Attribute Summary
Attributes inherited from AlText
Attributes inherited from AlWidget
#filter, #foreign, #hidden, #label, #message, #name, #required, #tag_attr, #tag_type, #value
Instance Method Summary collapse
-
#initialize(name, arg = {}) ⇒ AlPassword
constructor
(AlPassword) constructor.
-
#make_value(*arg) ⇒ String
(AlPassword) HTML値の生成.
Methods inherited from AlText
Methods inherited from AlWidget
#make_tag, #set_attr, #set_value
Constructor Details
#initialize(name, arg = {}) ⇒ AlPassword
(AlPassword) constructor
844 845 846 847 |
# File 'lib/al_form.rb', line 844 def initialize( name, arg = {} ) @tag_type ||= "password" super( name, arg ) end |
Instance Method Details
#make_value(*arg) ⇒ String
Note:
表示しない
(AlPassword) HTML値の生成
856 857 858 |
# File 'lib/al_form.rb', line 856 def make_value( *arg ) return '********' end |