Module: Xorcist

Defined in:
lib/xorcist.rb,
lib/xorcist/version.rb,
lib/xorcist/refinements.rb,
lib/xorcist/string_methods.rb

Defined Under Namespace

Modules: Refinements, StringMethods

Constant Summary collapse

VERSION =
'1.1.3'

Class Method Summary collapse

Class Method Details

.xor(x, y) ⇒ Object



15
16
17
# File 'lib/xorcist.rb', line 15

def xor(x, y)
  xor!(x.dup, y)
end