Module: MagicCompare::NilClass

Defined in:
lib/magic_compare/nil.rb

Instance Method Summary collapse

Instance Method Details

#magic_compare(string_to_compare) ⇒ Object



3
4
5
# File 'lib/magic_compare/nil.rb', line 3

def magic_compare(string_to_compare)
  string_to_compare.nil?
end

#magic_include?(string_to_check) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/magic_compare/nil.rb', line 7

def magic_include?(string_to_check)
  false
end