Module: FederalOffense::ApplicationHelper
- Defined in:
- app/helpers/federal_offense/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#message_array(input) ⇒ Object
5 6 7 8 |
# File 'app/helpers/federal_offense/application_helper.rb', line 5 def (input) return "(none)" if input.blank? Array(input).compact.to_sentence end |