Sha256: bbf4531c80fbade2d3ee750384763e458d986e29d64c616c098ec9708895939b
Contents?: true
Size: 300 Bytes
Versions: 5
Compression:
Stored size: 300 Bytes
Contents
class SubCommand prepend EasyCommand def initialize(add_error: false) @add_error = add_error @execution_orders = [] end def call errors.add(:something, :forbidden) if @add_error end def on_success code_execution __method__ end def code_execution(method) end end
Version data entries
5 entries across 5 versions & 1 rubygems