Sha256: c55ce30f2f202cc2275d1f32a2d90f349c38ad8619ec08993af7c24c98eccd54
Contents?: true
Size: 287 Bytes
Versions: 5
Compression:
Stored size: 287 Bytes
Contents
module Octogate class Target < Model def include_event?(event) event_klasses = hook_type.nil? ? [] : hook_type.map do |name| Octogate::Event.get(name) end event_klasses.include?(event.is_a?(Octogate::Event::Base) ? event.class : event) end end end
Version data entries
5 entries across 5 versions & 1 rubygems