With bundler:
gem 'universal_debugger', git: 'https://gist.github.com/fixlr/5b8f963400342996fe45'| Gem::Specification.new do |s| | |
| s.name = 'universal_debugger' | |
| s.version = '0.0.0' | |
| s.platform = Gem::Platform::RUBY | |
| s.author = 'Nathan Fixler' | |
| s.email = '[email protected]' | |
| s.license = 'MIT' | |
| s.summary = 'Universal Ruby Debugger' | |
| s.description = 'This gem helps with debugging code in all versions of Ruby.' | |
| s.homepage = 'https://gist.github.com/fixlr/5b8f963400342996fe45' | |
| s.files = ['universal_debugger.rb'] | |
| s.require_path = '.' | |
| end |
| module UniversalDebugger | |
| def debugger(msg = 'what') | |
| puts msg | |
| end | |
| end | |
| extend(UniversalDebugger) |