Class: OAuth::TTY::Commands::VersionCommand — Documentation by YARD 0.9.45

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

Inherits:
  OAuth::TTY::Command
  - Object
  - OAuth::TTY::Command
  - OAuth::TTY::Commands::VersionCommand
  show all

Defined in:
  lib/oauth/tty/commands/version_command.rb

## Instance Method Summary collapse

- #run ⇒ Object

### Methods inherited from OAuth::TTY::Command

#initialize, #inspect, #required_options

## Constructor Details

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

## Instance Method Details

### #run ⇒ `Object`

    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