Class: Vanguard::Rule::Nullary::Confirmation::Builder::Confirm::Block
- Inherits:
-
Object
- Object
- Vanguard::Rule::Nullary::Confirmation::Builder::Confirm::Block
- Defined in:
- lib/vanguard/rule/nullary/confirmation.rb
Overview
Confirm attribute from block
Instance Method Summary collapse
-
#confirmation_attribute_name(attribute_name) ⇒ Symbol
private
Return confirmation attribute name.
Instance Method Details
#confirmation_attribute_name(attribute_name) ⇒ Symbol
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return confirmation attribute name
65 66 67 |
# File 'lib/vanguard/rule/nullary/confirmation.rb', line 65 def confirmation_attribute_name(attribute_name) @block.call(attribute_name) end |