Sha256: 9c6ae2da7f5fa278542d6535e394f6fe297aba9e6450486e695b23c0fd0983e9
Contents?: true
Size: 312 Bytes
Versions: 8
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true class Ultravisor::Child::Cast attr_reader :method_name def initialize(method_name, args, blk) @method_name, @args, @blk = method_name, args, blk end def go!(receiver) receiver.__send__(@method_name, *@args, &@blk) end def child_restarted! # Meh end end
Version data entries
8 entries across 8 versions & 1 rubygems