class RubyFly::Commands::Version
Public Instance Methods
configure_command(builder, opts)
click to toggle source
# File lib/ruby_fly/commands/version.rb, line 15 def configure_command(builder, opts) builder.with_flag('--version') end
do_after(opts)
click to toggle source
# File lib/ruby_fly/commands/version.rb, line 19 def do_after(opts) @version_string.string.gsub(/\n/, '') end
do_before(opts)
click to toggle source
# File lib/ruby_fly/commands/version.rb, line 11 def do_before(opts) @version_string = StringIO.new end
stdout()
click to toggle source
# File lib/ruby_fly/commands/version.rb, line 7 def stdout @version_string end