Class: Funicular::Store::SubscribesTo

Inherits:
Data
  • Object
show all
Defined in:
sig/store.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#channel_nameString (readonly)

Returns the value of attribute channel_name.

Returns:

  • (String)


7
8
9
# File 'sig/store.rbs', line 7

def channel_name
  @channel_name
end

#handler_blockProc (readonly)

Returns the value of attribute handler_block.

Returns:

  • (Proc)


9
10
11
# File 'sig/store.rbs', line 9

def handler_block
  @handler_block
end

#params_proc^(Funicular::Store::Scope) -> Hash[Symbol, untyped] (readonly)

Returns the value of attribute params_proc.

Returns:



8
9
10
# File 'sig/store.rbs', line 8

def params_proc
  @params_proc
end

Class Method Details

.newinstance

Parameters:

  • channel_name (String)
  • handler_block (Proc)

Returns:

  • (instance)


11
# File 'sig/store.rbs', line 11

def self.new: (String channel_name, ^(Funicular::Store::Scope) -> Hash[Symbol, untyped] params_proc, Proc handler_block) -> instance