In Files

  • bundler/plugin/events.rb

Class/Module Index [+]

Quicksearch

Bundler::Plugin::Events

Public Class Methods

defined_event?(event) click to toggle source

Check if an event has been defined @param event [String] An event to check @return [Boolean] A boolean indicating if the event has been defined

 
               # File bundler/plugin/events.rb, line 28
def self.defined_event?(event)
  @events ||= {}
  @events.key?(event)
end