Sha256: 7c4624fea7300b37215dfe2664ed39ed4495a5fbac6cd2012a62f1c3e9f34187

Contents?: true

Size: 204 Bytes

Versions: 1

Compression:

Stored size: 204 Bytes

Contents

class CLIForge::BinCommand

  def initialize(path)
    @path = path
  end

  attr_reader :path

  def to_s
    "#<#{self.class} #{path}>"
  end

  def call(arguments)
    exec path, *arguments
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cli-forge-0.1.0 lib/cli_forge/bin_command.rb