File: command.rb

package info (click to toggle)
ruby-spring 2.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 428 kB
  • sloc: ruby: 3,373; sh: 9; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require "spring/env"

module Spring
  module Client
    class Command
      def self.call(args)
        new(args).call
      end

      attr_reader :args, :env

      def initialize(args)
        @args = args
        @env  = Env.new
      end
    end
  end
end