Class: Space::App
- Inherits:
-
Object
- Object
- Space::App
- Includes:
- Readline
- Defined in:
- lib/space/app.rb,
lib/space/app/logger.rb,
lib/space/app/parser.rb,
lib/space/app/command.rb,
lib/space/app/handler.rb,
lib/space/app/command/builtin.rb,
lib/space/app/command/development.rb
Defined Under Namespace
Classes: Command, Handler, Logger, Parser
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#screen ⇒ Object
readonly
Returns the value of attribute screen.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name) ⇒ App
constructor
A new instance of App.
- #run ⇒ Object
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
18 19 20 |
# File 'lib/space/app.rb', line 18 def name @name end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
18 19 20 |
# File 'lib/space/app.rb', line 18 def project @project end |
#screen ⇒ Object (readonly)
Returns the value of attribute screen.
18 19 20 |
# File 'lib/space/app.rb', line 18 def screen @screen end |
Class Method Details
Instance Method Details
#run ⇒ Object
28 29 30 31 32 |
# File 'lib/space/app.rb', line 28 def run refresh screen.display(:dashboard) cli_loop end |