Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
initial and potentially only commit
  • Loading branch information
stefanpenner committed May 30, 2011
0 parents commit 2eeaa62
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
*.gem
.bundle
Gemfile.lock
pkg/*
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source "http://rubygems.org"

# Specify your gem's dependencies in rebind.gemspec
gemspec
2 changes: 2 additions & 0 deletions Rakefile
@@ -0,0 +1,2 @@
require 'bundler'
Bundler::GemHelper.install_tasks
5 changes: 5 additions & 0 deletions lib/rebind.rb
@@ -0,0 +1,5 @@
class Method
def rebind(*args,&block)
unbind.bind(*args,&block)
end
end
3 changes: 3 additions & 0 deletions lib/rebind/version.rb
@@ -0,0 +1,3 @@
module Rebind
VERSION = "0.0.1"
end
21 changes: 21 additions & 0 deletions rebind.gemspec
@@ -0,0 +1,21 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "rebind/version"

Gem::Specification.new do |s|
s.name = "rebind"
s.version = Rebind::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Stefan Penner"]
s.email = ["Stefan.Penner@gmail.com"]
s.homepage = ""
s.summary = %q{Rebind a method in ruby}
s.description = %q{More then likely a terrible idea, but a fun addition, this allows you to rebind a method}

s.rubyforge_project = "rebind"

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end

0 comments on commit 2eeaa62

Please sign in to comment.