Class: OAuth::TTY::Commands::VersionCommand

Inherits:
OAuth::TTY::Command show all
Defined in:
lib/oauth/tty/commands/version_command.rb

Instance Method Summary collapse

Methods inherited from OAuth::TTY::Command

#initialize, #required_options

Constructor Details

This class inherits a constructor from OAuth::TTY::Command

Instance Method Details

#runObject



7
8
9
10
11
12
# File 'lib/oauth/tty/commands/version_command.rb', line 7

def run
  puts <<-VERSION
    OAuth Gem #{OAuth::Version::VERSION}
    OAuth TTY Gem #{OAuth::TTY::Version::VERSION}
  VERSION
end