Class: Prof::TestApp
- Inherits:
-
Object
- Object
- Prof::TestApp
- Defined in:
- lib/prof/test_app.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ TestApp
constructor
A new instance of TestApp.
Constructor Details
#initialize(opts = {}) ⇒ TestApp
Returns a new instance of TestApp.
13 14 15 |
# File 'lib/prof/test_app.rb', line 13 def initialize(opts = {}) @path = opts.fetch(:path) end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
17 18 19 |
# File 'lib/prof/test_app.rb', line 17 def path @path end |