class PolyglotCli::Command::Status
Public Class Methods
init()
click to toggle source
# File lib/polyglot_cli/commands/status.rb, line 7 def self.init new.call end
Public Instance Methods
call()
click to toggle source
# File lib/polyglot_cli/commands/status.rb, line 11 def call if server_changed? prompt.warn('Changes have occured on the server.') else prompt.ok('No changes have been made on the server.') end end