class ActiveSupport::Callbacks::Conditionals::Value
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/active_support/callbacks.rbs class ActiveSupport::Callbacks::Conditionals::Value def call: (User target, Integer value) -> true def initialize: () -> void end
:nodoc:
def call(target, value); @block.call(value); end
Experimental RBS support (using type sampling data from the type_fusion
project).
def call: (User target, Integer value) -> true
This signature was generated using 1 sample from 1 application.
def call(target, value); @block.call(value); end
def initialize(&block)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: () -> void
This signature was generated using 2 samples from 1 application.
def initialize(&block) @block = block end