Navigation Menu

Skip to content

ethangunderson/suicide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Suicide

When method missing is called, it searches object space for the first object that responds. Partially inspired from Suicide Linux(http://qntm.org/suicide)

Installation

gem install suicide

Usage require 'rubygems' require 'suicide'

class Foo
  def baz
    puts 'omg wtf'
  end
end

class Bar
end

Foo.new
Bar.new.baz

Author

Ethan Gunderson ethan@ethangunderson.com

About

Raising NoMethodError is dumb. Let's do something a little more fun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages