Sha256: d29fc831f514618e2dc3355d4a15dcee938dd357f489f04c4f241957e357c305

Contents?: true

Size: 423 Bytes

Versions: 6

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

module Evostream
  # Manage command
  module Commands
    # Class parent for all command
    class Command
      def initialize(commands = {})
        @command = []
        commands.each do |command_name, command_param|
          @command.push send(command_name, command_param)
        end
      end
    end
  end
end

require 'evostream/commands/create'
require 'evostream/commands/destroy'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
evostream-event-0.1.0 lib/evostream/commands.rb
evostream-event-0.1.0.pre.14 lib/evostream/commands.rb
evostream-event-0.1.0.pre.10 lib/evostream/commands.rb
evostream-event-0.1.0.pre.9 lib/evostream/commands.rb
evostream-event-0.1.0.pre.42 lib/evostream/commands.rb
evostream-event-0.1.0.pre.6 lib/evostream/commands.rb