Sha256: bb13ea65357ff073d577162ba9757f232b5ce777131905f51709d5b51ee6ad3e
Contents?: true
Size: 486 Bytes
Versions: 1
Compression:
Stored size: 486 Bytes
Contents
module StimulusReflex::TestReflexPatches def get(instance_variable) instance_variable_get("@#{instance_variable}") end def run(method_name, *args) process(method_name, *args) end def cable_ready @cable_ready ||= FableReady.new end class FableReady def [](key) self end def method_missing(*) self end def respond_to_missing?(*) true end end end StimulusReflex::Reflex.include(StimulusReflex::TestReflexPatches)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stimulus_reflex_testing-0.3.0 | lib/stimulus_reflex/test_reflex_patches.rb |