Sha256: e0ad57108be1d72f2670dd32837a6e01edd69aa0f82528d3c760b846da0aea17
Contents?: true
Size: 387 Bytes
Versions: 5
Compression:
Stored size: 387 Bytes
Contents
# frozen_string_literal: true module Micro module Observers class Event require 'micro/observers/event/names' attr_reader :name, :subject, :context, :data def initialize(name, subject, context, data) @name, @subject = name, subject @context, @data = context, data end alias ctx context alias subj subject end end end
Version data entries
5 entries across 5 versions & 1 rubygems