Sha256: ef47358cb0f0a580b15b639fe151b1e81547de547862f8de484f375c7dd647db

Contents?: true

Size: 828 Bytes

Versions: 1

Compression:

Stored size: 828 Bytes

Contents

module Foobara
  class Command
    include TruncatedInspect

    include Concerns::Description
    include Concerns::Namespace

    include Concerns::InputsType
    include Concerns::ErrorsType
    include Concerns::ResultType

    include Concerns::Inputs
    include Concerns::Errors
    include Concerns::Result

    include Concerns::Runtime
    include Concerns::Callbacks
    include Concerns::StateMachine
    include Concerns::Transactions
    include Concerns::Entities
    include Concerns::Subcommands
    include Concerns::DomainMappers
    include Concerns::Reflection

    attr_reader :raw_inputs

    def initialize(inputs = {})
      @raw_inputs = inputs
      super()
    end
  end

  Command.after_subclass_defined do |subclass|
    Command.all << subclass
    subclass.define_command_named_function
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foobara-0.0.33 projects/command/src/command.rb