Class: Trees::Line

Inherits:
Object
  • Object
show all
Includes:
LowType
Defined in:
lib/line.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#executeObject

Returns the value of attribute execute.



10
11
12
# File 'lib/line.rb', line 10

def execute
  @execute
end

#paramsObject (readonly)

Returns the value of attribute params.



9
10
11
# File 'lib/line.rb', line 9

def params
  @params
end

#pathObject (readonly)

Returns the value of attribute path.



9
10
11
# File 'lib/line.rb', line 9

def path
  @path
end

#summaryObject

Returns the value of attribute summary.



10
11
12
# File 'lib/line.rb', line 10

def summary
  @summary
end