Skip to content

Commit

Permalink
Add a more thorough gem description
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDaugherty committed Dec 28, 2020
1 parent 615ef1b commit 7edf4b4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions binding_of_caller.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ Gem::Specification.new do |spec|
spec.authors = ["John Mair (banisterfiend)"]
spec.email = ["jrmair@gmail.com"]

spec.summary = %q{Retrieve the binding of a method's caller. Can also retrieve bindings even further up the stack.}
spec.description = spec.summary
spec.summary = %q{Retrieve the binding of a method's caller, or further up the stack.}
spec.description = <<-TXT
Provides the Binding#of_caller method.
Using binding_of_caller we can grab bindings from higher up the call stack and evaluate code in that context.
Allows access to bindings arbitrarily far up the call stack, not limited to just the immediate caller.
Recommended for use only in debugging situations. Do not use this in production apps.
TXT
spec.homepage = "https://github.com/banister/binding_of_caller"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.0.0")
Expand Down

0 comments on commit 7edf4b4

Please sign in to comment.