Sha256: f6d6975cc9a8b62c54ecf8a5b3f87e725b5b07fbcac43ff8b3851a7d70e48232
Contents?: true
Size: 509 Bytes
Versions: 5
Compression:
Stored size: 509 Bytes
Contents
require 'fig/logging' require 'fig/packageerror' require 'fig/package/statement' module Fig; end class Fig::Package; end # Artificial statement (it's not in the grammar) used to handle default # publishing. class Fig::Package::Publish include Fig::Package::Statement attr_reader :local_name, :remote_name def initialize(local_name, remote_name) @local_name = local_name @remote_name = remote_name end def unparse(indent) "#{indent}publish #{@local_name}->#{@remote_name}" end end
Version data entries
5 entries across 5 versions & 2 rubygems