class EnhancedPrompt::Prompt
Prompt
class defines all user instruction commands Such as ip , ipv4 … This must be exactly same name as instruction command name. Because we convert instruction command name into Prompt
method directly make sure that EnhancedPrompt::Prompt.instance_methods(false) shows all instruction command name and no methods other than them.
TODO should be implemented someday
Public Class Methods
new()
click to toggle source
# File lib/enhanced_prompt/prompt.rb, line 50 def initialize @token =Token.new end