class FPM::Package::Empty
Empty
Package type. For strict/meta/virtual package creation
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
FPM::Package::new
# File lib/fpm/package/empty.rb, line 7 def initialize(*args) super(*args) # Override FPM::Package's default "native" architecture value # This feels like the right default because an empty package has no # architecture-specific files, and in most cases an empty package should be # installable anywhere. # # https://github.com/jordansissel/fpm/issues/1846 @architecture = "all" end
Public Instance Methods
output(output_path)
click to toggle source
# File lib/fpm/package/empty.rb, line 19 def output(output_path) logger.warn("Your package has gone into the void.") end
to_s(fmt)
click to toggle source
# File lib/fpm/package/empty.rb, line 22 def to_s(fmt) return "" end