Module: Wizardly::Wizard::Utils
- Defined in:
- lib/wizardly/wizard/utils.rb
Class Method Summary collapse
Class Method Details
.formatted_redirect(r) ⇒ Object
4 5 6 7 |
# File 'lib/wizardly/wizard/utils.rb', line 4 def self.formatted_redirect(r) return(nil) unless r r.is_a?(Hash)? r : "'#{r}'" end |