Method: CommonLib::NilClass#split
- Defined in:
- lib/common_lib/ruby/nil_class.rb
#split(*args) ⇒ Object
Return an empty array when attempting to split nil
4 5 6 |
# File 'lib/common_lib/ruby/nil_class.rb', line 4 def split(*args) [] end |