Class: Wallaby::ActiveRecord::ModelServiceProvider::Querier::Wrapper
- Inherits:
-
Object
- Object
- Wallaby::ActiveRecord::ModelServiceProvider::Querier::Wrapper
- Defined in:
- lib/adapters/wallaby/active_record/model_service_provider/querier/wrapper.rb
Overview
Wrapper for the Transformer result. It’s only used by Wallaby::ActiveRecord::ModelServiceProvider::Querier to tell it apart with non-Transformer result
Instance Attribute Summary collapse
-
#list ⇒ Object
readonly
Returns the value of attribute list.
Instance Method Summary collapse
-
#initialize(list = []) ⇒ Wrapper
constructor
A new instance of Wrapper.
Constructor Details
#initialize(list = []) ⇒ Wrapper
Returns a new instance of Wrapper.
19 20 21 |
# File 'lib/adapters/wallaby/active_record/model_service_provider/querier/wrapper.rb', line 19 def initialize(list = []) @list = list end |
Instance Attribute Details
#list ⇒ Object (readonly)
Returns the value of attribute list.
11 12 13 |
# File 'lib/adapters/wallaby/active_record/model_service_provider/querier/wrapper.rb', line 11 def list @list end |