Sha256: 64ee7530c41d38887b13af92fa2ae6389106cf8a864863ae6cb7449a36a5d396
Contents?: true
Size: 452 Bytes
Versions: 5
Compression:
Stored size: 452 Bytes
Contents
# frozen_string_literal: true require 'lino' require_relative 'base' module RubyFly module Commands class Version < Base def stdout @version_string end def do_before(_opts) @version_string = StringIO.new end def configure_command(builder, _opts) builder.with_flag('--version') end def do_after(_opts) @version_string.string.gsub(/\n/, '') end end end end
Version data entries
5 entries across 5 versions & 1 rubygems