Class: Debsacker::Options::VersionFactory
- Inherits:
-
Object
- Object
- Debsacker::Options::VersionFactory
- Defined in:
- lib/debsacker/options/version_factory.rb
Class Method Summary collapse
Class Method Details
.build(options) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/debsacker/options/version_factory.rb', line 6 def self.build() Debsacker::Package::Version.new([:version]).tap do |version| version.add_distro = [:distro].nil? ? true : !![:distro] version.add_branch = !![:branch] end end |