Sha256: f18ba94c1105c81836ac53f721f9333d3dc4dbb655d827ff151d9c8837b8bf82

Contents?: true

Size: 418 Bytes

Versions: 45

Compression:

Stored size: 418 Bytes

Contents

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

45 entries across 45 versions & 1 rubygems

Version Path
ruby_fly-0.38.0.pre.2 lib/ruby_fly/commands/version.rb
ruby_fly-0.38.0.pre.1 lib/ruby_fly/commands/version.rb
ruby_fly-0.37.0 lib/ruby_fly/commands/version.rb
ruby_fly-0.36.0.pre.5 lib/ruby_fly/commands/version.rb
ruby_fly-0.36.0.pre.4 lib/ruby_fly/commands/version.rb
ruby_fly-0.36.0.pre.3 lib/ruby_fly/commands/version.rb
ruby_fly-0.36.0.pre.2 lib/ruby_fly/commands/version.rb
ruby_fly-0.36.0.pre.1 lib/ruby_fly/commands/version.rb
ruby_fly-0.35.0 lib/ruby_fly/commands/version.rb
ruby_fly-0.34.0.pre.1 lib/ruby_fly/commands/version.rb
ruby_fly-0.33.0 lib/ruby_fly/commands/version.rb
ruby_fly-0.32.0.pre.1 lib/ruby_fly/commands/version.rb
ruby_fly-0.31.0 lib/ruby_fly/commands/version.rb
ruby_fly-0.30.0.pre.1 lib/ruby_fly/commands/version.rb
ruby_fly-0.29.0 lib/ruby_fly/commands/version.rb
ruby_fly-0.28.0.pre.1 lib/ruby_fly/commands/version.rb
ruby_fly-0.27.0 lib/ruby_fly/commands/version.rb
ruby_fly-0.26.0.pre.1 lib/ruby_fly/commands/version.rb
ruby_fly-0.25.0 lib/ruby_fly/commands/version.rb
ruby_fly-0.24.0.pre.1 lib/ruby_fly/commands/version.rb