Class: Space::Screen
- Inherits:
-
Object
- Object
- Space::Screen
- Defined in:
- lib/space/screen.rb,
lib/space/screen/view.rb,
lib/space/screen/progress.rb,
lib/space/screen/dashboard.rb
Defined Under Namespace
Classes: Dashboard, Progress, View
Instance Attribute Summary collapse
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#view ⇒ Object
readonly
Returns the value of attribute view.
Instance Method Summary collapse
- #display ⇒ Object
-
#initialize(project) ⇒ Screen
constructor
A new instance of Screen.
Constructor Details
#initialize(project) ⇒ Screen
Returns a new instance of Screen.
9 10 11 12 |
# File 'lib/space/screen.rb', line 9 def initialize(project) @project = project render_header end |
Instance Attribute Details
#project ⇒ Object (readonly)
Returns the value of attribute project.
7 8 9 |
# File 'lib/space/screen.rb', line 7 def project @project end |
#view ⇒ Object (readonly)
Returns the value of attribute view.
7 8 9 |
# File 'lib/space/screen.rb', line 7 def view @view end |