Module: CommonLib::NilClass
- Defined in:
- lib/common_lib/ruby/nil_class.rb
Overview
:nodoc:
Instance Method Summary collapse
- #include?(*args) ⇒ Boolean
-
#split(*args) ⇒ Object
Return an empty array when attempting to split nil.
Instance Method Details
#include?(*args) ⇒ Boolean
8 9 10 |
# File 'lib/common_lib/ruby/nil_class.rb', line 8 def include?(*args) false end |
#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 |