Sha256: e4c487e3640bdb9bc4399842840dad949db931c8959dc153fcdf116458d2d8b6

Contents?: true

Size: 615 Bytes

Versions: 12

Compression:

Stored size: 615 Bytes

Contents

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

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

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

      def invert_create_function(args)
        [:drop_function, args]
      end

      def invert_drop_function(args)
        perform_inversion(:create_function, args)
      end

      def invert_update_function(args)
        perform_inversion(:update_function, 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/function.rb
fx-0.7.0 lib/fx/command_recorder/function.rb
fx-jets-0.6.3s lib/fx/command_recorder/function.rb
fx-0.6.2 lib/fx/command_recorder/function.rb
fx-0.6.1 lib/fx/command_recorder/function.rb
fx-0.6.0 lib/fx/command_recorder/function.rb
fx-0.5.0 lib/fx/command_recorder/function.rb
fx-0.4.0 lib/fx/command_recorder/function.rb
fx-0.3.1 lib/fx/command_recorder/function.rb
fx-0.3.0 lib/fx/command_recorder/function.rb
fx-0.2.0 lib/fx/command_recorder/function.rb
fx-0.1.0 lib/fx/command_recorder/function.rb