Sha256: 98dcc6f48966bf66ab5e5b97fc510c8730d8c2a27d7fa315355cc8d93e073dfa

Contents?: true

Size: 426 Bytes

Versions: 5

Compression:

Stored size: 426 Bytes

Contents

require 'fig/logging'
require 'fig/packageerror'
require 'fig/statement'

module Fig; end

# Specifies a default command that will be executed for a given Configuration
# if no command is specified on the command-line.
class Fig::Statement::Command
  include Fig::Statement

  attr_reader :command

  def initialize(command)
    @command = command
  end

  def unparse(indent)
    %Q<#{indent}command "#{@command}">
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fig-0.1.57 lib/fig/statement/command.rb
fig-0.1.55 lib/fig/statement/command.rb
fig-0.1.54 lib/fig/statement/command.rb
fig-0.1.53 lib/fig/statement/command.rb
fig-0.1.52 lib/fig/statement/command.rb