Sha256: 8bcc091f139bf1870983c242cf3ee3cced2d4039546ea891236ce1f052efccd6
Contents?: true
Size: 360 Bytes
Versions: 26
Compression:
Stored size: 360 Bytes
Contents
require 'delegate' require 'after_do' require 'husky/pass_along' module Husky class Responder < SimpleDelegator extend AfterDo attr_reader :context def initialize(context) @context = context super end end end Husky::Responder.after :initialize do |*, responder| PassAlong.all_variables(responder, responder.context) end
Version data entries
26 entries across 26 versions & 1 rubygems