Class: Sirens::ItemsRemoved
- Inherits:
-
Object
- Object
- Sirens::ItemsRemoved
- Defined in:
- lib/models/list_model.rb
Instance Attribute Summary collapse
-
#indices ⇒ Object
readonly
Returns the value of attribute indices.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#list ⇒ Object
readonly
Returns the value of attribute list.
Instance Method Summary collapse
-
#initialize(list:, indices:, items:) ⇒ ItemsRemoved
constructor
A new instance of ItemsRemoved.
Constructor Details
#initialize(list:, indices:, items:) ⇒ ItemsRemoved
Returns a new instance of ItemsRemoved.
165 166 167 168 169 |
# File 'lib/models/list_model.rb', line 165 def initialize(list:, indices:, items:) @list = list @indices = indices @items = items end |
Instance Attribute Details
#indices ⇒ Object (readonly)
Returns the value of attribute indices.
171 172 173 |
# File 'lib/models/list_model.rb', line 171 def indices @indices end |
#items ⇒ Object (readonly)
Returns the value of attribute items.
171 172 173 |
# File 'lib/models/list_model.rb', line 171 def items @items end |
#list ⇒ Object (readonly)
Returns the value of attribute list.
171 172 173 |
# File 'lib/models/list_model.rb', line 171 def list @list end |