Class: Sirens::ItemsRemoved

Inherits:
Object
  • Object
show all
Defined in:
lib/models/list_model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#indicesObject (readonly)

Returns the value of attribute indices.



171
172
173
# File 'lib/models/list_model.rb', line 171

def indices
  @indices
end

#itemsObject (readonly)

Returns the value of attribute items.



171
172
173
# File 'lib/models/list_model.rb', line 171

def items
  @items
end

#listObject (readonly)

Returns the value of attribute list.



171
172
173
# File 'lib/models/list_model.rb', line 171

def list
  @list
end