Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/helper.rb
Overview
Mixin helper to parse the accpetable strings
Instance Method Summary collapse
Instance Method Details
#parse_event_types ⇒ Object
5 6 7 |
# File 'lib/helper.rb', line 5 def parse_event_types self.split(",").map {|str| "#{str.strip.capitalize}Event"} end |