module Bundler::Plugin::Events

def self.defined_event?(event)

Returns:
  • (Boolean) - A boolean indicating if the event has been defined

Parameters:
  • event (String) -- An event to check
def self.defined_event?(event)
  @events ||= {}
  @events.key?(event)
end