Sha256: 0dc77338d2897f1f067a39b10a86b94134c2dee86d9a5323a7dc4e7a181c30a2
Contents?: true
Size: 206 Bytes
Versions: 12
Compression:
Stored size: 206 Bytes
Contents
require_relative 'senders/email' require_relative 'senders/stdout' module Senders SENDERS = { stdout: Stdout, email: Email }.freeze def self.by_name(name) SENDERS[name.to_sym] end end
Version data entries
12 entries across 12 versions & 1 rubygems