Sha256: 0ff1ec8fa9a6b7244e31e0c62938835ac07b8d9a5bc7115177262e8390b658cc
Contents?: true
Size: 434 Bytes
Versions: 1
Compression:
Stored size: 434 Bytes
Contents
module Fulmar module Infrastructure module Service # Provides access to composer class ComposerService def initialize(shell, custom_path = '/usr/bin/env composer') @local_shell = shell @path = custom_path end def execute(command, arguments = %w(--no-dev -q)) @local_shell.run "#{@path} #{command} #{arguments.join(' ')}" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fulmar-1.3.0 | lib/fulmar/infrastructure/service/composer_service.rb |