Class: Funicular::Store::Collection::Scope

Inherits:
Scope
  • Object
show all
Defined in:
sig/store_collection.rbs

Instance Attribute Summary collapse

Attributes inherited from Scope

#scope_kwargs

Instance Method Summary collapse

Methods inherited from Scope

#initialize, #method_missing, #off_change, #on_change, #respond_to_missing?, #subscribe!, #subscribed?, #subscription, #unsubscribe!

Constructor Details

This class inherits a constructor from Funicular::Store::Scope

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Funicular::Store::Scope

Instance Attribute Details

#store_classsingleton(Funicular::Store::Collection) (readonly)

Returns the value of attribute store_class.

Returns:



20
21
22
# File 'sig/store_collection.rbs', line 20

def store_class
  @store_class
end

Instance Method Details

#allArray[untyped]

Returns:

  • (Array[untyped])


23
# File 'sig/store_collection.rbs', line 23

def all: () -> Array[untyped]

#appendArray[untyped]

Parameters:

  • item (Object)

Returns:

  • (Array[untyped])


25
# File 'sig/store_collection.rbs', line 25

def append: (untyped item) -> Array[untyped]

#clearnil

Returns:

  • (nil)


30
# File 'sig/store_collection.rbs', line 30

def clear: () -> nil

#expired?Boolean

Returns:

  • (Boolean)


31
# File 'sig/store_collection.rbs', line 31

def expired?: () -> bool

#lastObject

Returns:

  • (Object)


27
# File 'sig/store_collection.rbs', line 27

def last: () -> untyped

#last_idObject

Returns:

  • (Object)


28
# File 'sig/store_collection.rbs', line 28

def last_id: () -> untyped

#removeArray[untyped]

Parameters:

  • id (Object)

Returns:

  • (Array[untyped])


26
# File 'sig/store_collection.rbs', line 26

def remove: (untyped id) -> Array[untyped]

#replaceArray[untyped]

Parameters:

  • arr (Object)

Returns:

  • (Array[untyped])


24
# File 'sig/store_collection.rbs', line 24

def replace: (untyped arr) -> Array[untyped]

#same_tail?Boolean

Parameters:

  • other (Object)

Returns:

  • (Boolean)


32
# File 'sig/store_collection.rbs', line 32

def same_tail?: (untyped other) -> bool

#sizeInteger

Returns:

  • (Integer)


29
# File 'sig/store_collection.rbs', line 29

def size: () -> Integer