Class: Fiveruns::Tuneup::Panel
- Inherits:
-
Object
- Object
- Fiveruns::Tuneup::Panel
- Includes:
- Templating
- Defined in:
- lib/fiveruns/tuneup/panel.rb
Instance Attribute Summary collapse
-
#root ⇒ Object
readonly
Returns the value of attribute root.
-
#run ⇒ Object
readonly
Returns the value of attribute run.
Instance Method Summary collapse
- #allow_share? ⇒ Boolean
-
#initialize(run, allow_share = false) ⇒ Panel
constructor
A new instance of Panel.
Methods included from Templating
Constructor Details
#initialize(run, allow_share = false) ⇒ Panel
Returns a new instance of Panel.
28 29 30 31 32 |
# File 'lib/fiveruns/tuneup/panel.rb', line 28 def initialize(run, allow_share = false) @run = run @root = run.data @allow_share = allow_share end |
Instance Attribute Details
#root ⇒ Object (readonly)
Returns the value of attribute root.
27 28 29 |
# File 'lib/fiveruns/tuneup/panel.rb', line 27 def root @root end |
#run ⇒ Object (readonly)
Returns the value of attribute run.
27 28 29 |
# File 'lib/fiveruns/tuneup/panel.rb', line 27 def run @run end |
Instance Method Details
#allow_share? ⇒ Boolean
34 35 36 |
# File 'lib/fiveruns/tuneup/panel.rb', line 34 def allow_share? @allow_share end |