Class: Space::App
- Inherits:
-
Object
- Object
- Space::App
- Defined in:
- lib/space/app.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#views ⇒ Object
readonly
Returns the value of attribute views.
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.
7 8 9 |
# File 'lib/space/app.rb', line 7 def name @name end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
7 8 9 |
# File 'lib/space/app.rb', line 7 def project @project end |
#views ⇒ Object (readonly)
Returns the value of attribute views.
7 8 9 |
# File 'lib/space/app.rb', line 7 def views @views end |
Instance Method Details
#run ⇒ Object
15 16 17 18 19 |
# File 'lib/space/app.rb', line 15 def run project.refresh cli_loop puts end |