Sha256: 5c80e1bb19643f59a355e6063025677f43656c988d915419dc460e402230d663

Contents?: true

Size: 350 Bytes

Versions: 35

Compression:

Stored size: 350 Bytes

Contents

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

module Fig; end
class Fig::Package; end

class Fig::Package::Resource
  include Fig::Package::Statement

  attr_reader :url

  def initialize(url)
    @url = url
  end

  def urls
    return [@url]
  end

  def unparse(indent)
    "#{indent}resource #{url}"
  end
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
fig18-0.1.50-i386-mswin32 lib/fig/package/resource.rb
fig18-0.1.50 lib/fig/package/resource.rb
fig-0.1.50-java lib/fig/package/resource.rb
fig-0.1.50 lib/fig/package/resource.rb
fig18-0.1.50-i386-mingw32 lib/fig/package/resource.rb
fig-0.1.49-java lib/fig/package/resource.rb
fig-0.1.49 lib/fig/package/resource.rb
fig18-0.1.49 lib/fig/package/resource.rb
fig18-0.1.49-i386-mswin32 lib/fig/package/resource.rb
fig18-0.1.49-i386-mingw32 lib/fig/package/resource.rb
fig18-0.1.48 lib/fig/package/resource.rb
fig18-0.1.48-i386-mswin32 lib/fig/package/resource.rb
fig18-0.1.48-i386-mingw32 lib/fig/package/resource.rb
fig-0.1.48 lib/fig/package/resource.rb
fig-0.1.48-java lib/fig/package/resource.rb
fig18-0.1.47 lib/fig/package/resource.rb
fig18-0.1.47-i386-mswin32 lib/fig/package/resource.rb
fig18-0.1.47-i386-mingw32 lib/fig/package/resource.rb
fig-0.1.47 lib/fig/package/resource.rb
fig-0.1.47-java lib/fig/package/resource.rb