class ImageBuilder::PostProcessors::Compress
Generic class doc comment
Attributes
output[RW]
type[R]
Public Class Methods
new()
click to toggle source
# File lib/image_builder/post_processors/compress.rb, line 10 def initialize @type = 'compress' end
Public Instance Methods
packer_hash()
click to toggle source
# File lib/image_builder/post_processors/compress.rb, line 14 def packer_hash hash = {} attr_to_hash(hash, :type, true) attr_to_hash(hash, :output, true) hash end