Class: Masking::Config::TargetColumns::Method::Boolean
- Inherits:
-
Object
- Object
- Masking::Config::TargetColumns::Method::Boolean
- Defined in:
- lib/masking/config/target_columns/method/boolean.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(value) ⇒ Boolean
constructor
A new instance of Boolean.
Constructor Details
#initialize(value) ⇒ Boolean
Returns a new instance of Boolean.
8 9 10 |
# File 'lib/masking/config/target_columns/method/boolean.rb', line 8 def initialize(value) @boolean = value end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/masking/config/target_columns/method/boolean.rb', line 12 def call boolean_format.to_s end |