Sha256: 72dc5cc687e48b68e05b499e63c053f620416e9e871390bda15a7d7bb21eeefb
Contents?: true
Size: 508 Bytes
Versions: 8
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true module Composable module Service class Command include Core::AttributeDSL include Core::ComposableDSL include Core::Callbacks class << self def inherited(subclass) super subclass.prepend(Core::Command) end end def call return unless valid? run_callbacks :save do save_composables { save } end end private def save end end end end
Version data entries
8 entries across 8 versions & 1 rubygems