Class: Task::RenderElement

Inherits:
Object
  • Object
show all
Defined in:
app/models/task.rb

Overview

END of subclass_to_attiribuet

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request) ⇒ RenderElement

Returns a new instance of RenderElement


125
126
127
128
# File 'app/models/task.rb', line 125

def initialize(request)
  @request = request
  @asset = request.asset
end

Instance Attribute Details

#assetObject (readonly)

Returns the value of attribute asset


124
125
126
# File 'app/models/task.rb', line 124

def asset
  @asset
end

#requestObject (readonly)

Returns the value of attribute request


124
125
126
# File 'app/models/task.rb', line 124

def request
  @request
end