Method: StringExtensions#to_i_arr
- Defined in:
- lib/extensions/string_extensions.rb
#to_i_arr(del = ',') ⇒ Object
26 27 28 |
# File 'lib/extensions/string_extensions.rb', line 26 def to_i_arr(del=',') self.split(del).collect{|x| x.to_i} end |