Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ainame/pebbles-suddenly_death
pebbles-suddenly_death is a joke gem.
https://github.com/ainame/pebbles-suddenly_death
Last synced: about 2 months ago
JSON representation
pebbles-suddenly_death is a joke gem.
- Host: GitHub
- URL: https://github.com/ainame/pebbles-suddenly_death
- Owner: ainame
- License: mit
- Created: 2013-01-28T18:45:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-29T16:54:43.000Z (almost 12 years ago)
- Last Synced: 2024-09-16T17:48:02.433Z (4 months ago)
- Language: Ruby
- Size: 113 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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
```ruby
require 'pebbles/suddenly_death'class Greeter
def hello
'hello world'
endinclude Pebbles::SuddenlyDeath
endgreeter = 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
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request