Sha256: 67d426c20021aa0918a83c85e979ccc2a659ed4ee8c73f42f60ccf3c4c1ba8fb

Contents?: true

Size: 602 Bytes

Versions: 12

Compression:

Stored size: 602 Bytes

Contents

module Fx
  module CommandRecorder
    # @api private
    module Trigger
      def create_trigger(*args)
        record(:create_trigger, args)
      end

      def drop_trigger(*args)
        record(:drop_trigger, args)
      end

      def update_trigger(*args)
        record(:update_trigger, args)
      end

      def invert_create_trigger(args)
        [:drop_trigger, args]
      end

      def invert_drop_trigger(args)
        perform_inversion(:create_trigger, args)
      end

      def invert_update_trigger(args)
        perform_inversion(:update_trigger, args)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
fx-0.8.0 lib/fx/command_recorder/trigger.rb
fx-0.7.0 lib/fx/command_recorder/trigger.rb
fx-jets-0.6.3s lib/fx/command_recorder/trigger.rb
fx-0.6.2 lib/fx/command_recorder/trigger.rb
fx-0.6.1 lib/fx/command_recorder/trigger.rb
fx-0.6.0 lib/fx/command_recorder/trigger.rb
fx-0.5.0 lib/fx/command_recorder/trigger.rb
fx-0.4.0 lib/fx/command_recorder/trigger.rb
fx-0.3.1 lib/fx/command_recorder/trigger.rb
fx-0.3.0 lib/fx/command_recorder/trigger.rb
fx-0.2.0 lib/fx/command_recorder/trigger.rb
fx-0.1.0 lib/fx/command_recorder/trigger.rb