Class: Trees::Line
Instance Attribute Summary collapse
-
#execute ⇒ Object
Returns the value of attribute execute.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#summary ⇒ Object
Returns the value of attribute summary.
Instance Method Summary collapse
-
#initialize(path: String, params: {}) ⇒ Line
constructor
A new instance of Line.
Constructor Details
#initialize(path: String, params: {}) ⇒ Line
Returns a new instance of Line.
12 13 14 15 16 17 18 |
# File 'lib/line.rb', line 12 def initialize(path: String, params: {}) @path = path @params = params @summary = nil @execute = nil end |
Instance Attribute Details
#execute ⇒ Object
Returns the value of attribute execute.
10 11 12 |
# File 'lib/line.rb', line 10 def execute @execute end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
9 10 11 |
# File 'lib/line.rb', line 9 def params @params end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
9 10 11 |
# File 'lib/line.rb', line 9 def path @path end |
#summary ⇒ Object
Returns the value of attribute summary.
10 11 12 |
# File 'lib/line.rb', line 10 def summary @summary end |