class BiolaLogs::Generators::Base
Attributes
event[R]
Public Class Methods
new(event)
click to toggle source
event should quack like ActiveSupport::Notifications::Event
# File lib/biola_logs/generators/base.rb, line 7 def initialize(event) @event = event end
Public Instance Methods
to_hash()
click to toggle source
# File lib/biola_logs/generators/base.rb, line 11 def to_hash raise ArgumentError, 'This method should be overridden in a subclass' end