1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

publicize Pry::Hooks#hook_exists?

This commit is contained in:
John Mair 2012-11-27 13:08:30 +01:00
parent 8a39813708
commit c52f94079c
2 changed files with 1 additions and 3 deletions

View file

@ -246,7 +246,5 @@ class Pry
def hook_exists?(event_name, hook_name)
!!@hooks[event_name].find { |name, _| name == hook_name }
end
private :hook_exists?
end
end

View file

@ -1,3 +1,3 @@
class Pry
VERSION = "0.9.10"
VERSION = "0.9.11"
end