Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

mruby-string-xor Build Status

Add String#^(other) method that return XOR of two strings.

Installation

Add this line to build_config.rb

MRuby::Build.new do |conf|
  conf.gem github: 'hanachin/mruby-string-xor'
end

or add this line to your aplication's mrbgem.rake

MRuby::Gem::Specification.new('your-mrbgem') do |spec|
  spec.add_dependency 'mruby-string-xor', github: 'hanachin/mruby-string-xor'
end

Usage

'わーい!' ^ 'わーい!'
# => "\000\000\000\000\000\000\000\000\000\000\000\000"

How to execute test

$ git clone https://github.com/hanachin/mruby-string-xor.git
$ cd mruby-string-xor
$ ./test.sh

License

MIT

About

Add String#^(other) method that return XOR of two strings.

Topics

Resources

License

Releases

No releases published
You can’t perform that action at this time.