Module: Fend::Plugins::ValueHelpers
- Defined in:
- lib/fend/plugins/value_helpers.rb
Overview
‘value_helpers` plugin provides helper methods you can use to check/fetch param values.
plugin :value_helpers
validate do |i|
i.param(:username) do |username|
username.present? #=> true
username.blank? #=> false
username.empty_string? #=> false
end
end
For a complete list of available methods, see ParamMethods.
Defined Under Namespace
Modules: ParamMethods