Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/obrok/discombobulator
Discombobulate for the greater good!
https://github.com/obrok/discombobulator
Last synced: 5 days ago
JSON representation
Discombobulate for the greater good!
- Host: GitHub
- URL: https://github.com/obrok/discombobulator
- Owner: obrok
- License: mit
- Created: 2014-03-20T20:13:51.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-29T12:00:20.000Z (over 10 years ago)
- Last Synced: 2024-12-01T09:32:11.282Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 219 KB
- Stars: 13
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Discombobulator
https://github.com/obrok/discombobulator
Don't you hate seeing this in your face when working on your next $1,000,000,000 startup idea?
```
NoMethodError: undefined method `+' for nil:NilClass
```Don't you hate when people keep calling methods you clearly marked as [DEPRECATED] in the source code?
```
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
```Well fear no more, discombobulator is here to save the day!
```ruby
gem 'discombobulator'class NilClass
def method_missing(meth, *args, &block)
Discombobulator.new.call(meth, *args, &block)
end
endclass Gem
# READ TEH SOURCE CODEZ AND LOGZ. THIS IS [DEPRECATED].
def source_index
return Discombobulator.new if Time.now > Time.new(2011, 11, 01)
end
end
```# SHOULD I USE THIS IN MY SYSTEM?
Yes. I am being completely serious. You should.
Definitely.