Class: EnhancedPrompt::Prompt

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
Style
Defined in:
lib/enhanced_prompt/prompt.rb,
lib/enhanced_prompt/prompt.rb,
lib/enhanced_prompt/token/git.rb,
lib/enhanced_prompt/token/user.rb,
lib/enhanced_prompt/style/style.rb,
lib/enhanced_prompt/token/token.rb,
lib/enhanced_prompt/token/network.rb,
lib/enhanced_prompt/token/system_resource.rb

Overview

TODO should be implemented someday

Defined Under Namespace

Modules: Style Classes: Token

Instance Method Summary collapse

Methods included from Style

#default

Constructor Details

#initializePrompt

Returns a new instance of Prompt.



50
51
52
# File 'lib/enhanced_prompt/prompt.rb', line 50

def initialize
  @token =Token.new
end