Sha256: 74b0ecc4ed2fc1496ae1488170b9aa4e31c157d5fd01eaf9d2e3e568de1a801a
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
require 'debsacker/package/version' module Debsacker module Options class VersionFactory def self.build(options) Debsacker::Package::Version.new(options[:version]).tap do |version| version.add_distro = options[:distro].nil? ? true : !!options[:distro] version.add_branch = !!options[:branch] end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
debsacker-0.1.5 | lib/debsacker/options/version_factory.rb |
debsacker-0.1.3 | lib/debsacker/options/version_factory.rb |