Sha256: 9b14e10ab61655dd1218703faed16c96a040bc95e8d561eb9245653abda71eb1

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

require 'fig/statement'

module Fig; end

# Specifies the destination to put a dependency into.
class Fig::Statement::Retrieve < Fig::Statement
  attr_reader :var, :path

  def initialize(line_column, var, path)
    super(line_column)

    @var = var
    @path = path
  end

  def unparse(indent)
    "#{indent}retrieve #{var}->#{path}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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