Pebbles::SuddenlyDeath
This module is a joke.
Installation
Add this line to your application's Gemfile:
gem 'pebbles-suddenly_death'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pebbles-suddenly_death
Usage
require 'pebbles/suddenly_death'
class Greeter
def hello
'hello world'
end
include Pebbles::SuddenlyDeath
end
greeter = Greeter.new
1000.times do |x|
begin
greeter.hello
rescue => e
puts x, e.message
break
end
end
#=> 74
#=> _人人人人人人_
#=>> 突然の死 <
#=> ̄Y^Y^Y^Y^Y ̄
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request