Module: Prompt

Defined in:
lib/prompt/dsl.rb,
lib/prompt/command.rb,
lib/prompt/matcher.rb,
lib/prompt/parameter.rb,
lib/prompt/dsl_helper.rb,
lib/prompt/application.rb,
lib/prompt/command_group.rb,
lib/prompt/multi_matcher.rb,
lib/prompt/prompt_module.rb,
lib/prompt/simple_matcher.rb,
lib/prompt/console/builtins.rb,
lib/prompt/command_not_found.rb,
lib/prompt/console/console_module.rb

Defined Under Namespace

Modules: Console, DSL, DSLHelper Classes: Application, Command, CommandGroup, CommandNotFound, Matcher, MultiMatcher, Parameter, SimpleMatcher

Constant Summary collapse

VERSION =
"1.2.2"

Class Method Summary collapse

Class Method Details

.applicationObject

Singleton instance



8
9
10
# File 'lib/prompt/prompt_module.rb', line 8

def application
  @application ||= Application.new
end