Sha256: 78fc1faa909fa301d0c84c293c345d8be2b19d3a9762de160309270244c01a7e

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 Bytes

Contents

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 < Fig::Statement
  attr_reader :command

  def initialize(line_column, command)
    super(line_column)

    @command = command
  end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fig-0.1.62 lib/fig/statement/command.rb
fig-0.1.61 lib/fig/statement/command.rb
fig-0.1.59 lib/fig/statement/command.rb