Skip to content

Instantly share code, notes, and snippets.

@fixlr
Last active August 29, 2015 14:04
Show Gist options
  • Save fixlr/5b8f963400342996fe45 to your computer and use it in GitHub Desktop.
Save fixlr/5b8f963400342996fe45 to your computer and use it in GitHub Desktop.
Universal Ruby Debugger

universal_debugger

Usage

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 = 'nathan@fixler.org'
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment