Sha256: e9b256679e7e200c617bd4fd28b8f35fd89646022e8c6c73df92e001baffd4c8
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
module UnderOs class Image VERSION = '1.0.0' def self.picker(options={}) @picker ||= Picker.new(options) end def self.take(&block) picker.take(&block) end def self.pick(&block) picker.pick(&block) end attr_accessor :_ def initialize(raw_image) @_ = raw_image end def filter(params) @filter ||= Filter.new.tap{ |f| f.image = self } @filter.params = params @filter.apply end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
under-os-image-1.0.0 | lib/under_os/image.rb |