HabitatMap/AirCasting

View on GitHub
lib/aircasting/username_param.rb

Summary

Maintainability
A
0 mins
Test Coverage
module AirCasting
  module UsernameParam
    # "fo bo  , do," => ['fo bo', 'do']
    def self.split(usernames)
      usernames.to_s.split(/\s*,\s*/)
    end
  end
end