Sha256: fe8029f8ed56ab301455994b31845711821d8f00839809e72f881d4ac30baef1
Contents?: true
Size: 539 Bytes
Versions: 14
Compression:
Stored size: 539 Bytes
Contents
require 'lino' require_relative 'base' require_relative 'mixins/environment' module RubyLeiningen module Commands class Version < Base include Mixins::Environment def stdout @version_string end def do_before(opts) @version_string = StringIO.new end def configure_command(builder, opts) builder = super(builder, opts) builder.with_argument('version') end def do_after(opts) @version_string.string.gsub(/\n/, '') end end end end
Version data entries
14 entries across 14 versions & 1 rubygems