class Dry::Effects::Instructions::Execute
Attributes
block[R]
Public Class Methods
new(block)
click to toggle source
Calls superclass method
# File lib/dry/effects/instructions/execute.rb, line 11 def initialize(block) super() @block = block end
Public Instance Methods
call()
click to toggle source
# File lib/dry/effects/instructions/execute.rb, line 16 def call block.call end