README
Masked
Str
class
Masked::Str
Masked::Str
Reference
Object
Defined in:
masked_string/str.cr
Constructors
.new
(value : String, chars_to_show : Int32 =
4
, mask_char : Char =
'*'
)
Instance Method Summary
#+
(other :
self
)
#==
(other :
self
)
#to_s
#value
Constructor Detail
def self.
new
(value : String, chars_to_show : Int32 =
4
, mask_char : Char =
'*'
)
#
[
View source
]
Instance Method Detail
def
+
(other :
self
)
#
[
View source
]
def
==
(other :
self
)
#
[
View source
]
def
to_s
#
[
View source
]
def
value
#
[
View source
]