Sha256: 1d0b2d47dac05f8325be217693cd26f5af6e6efb068d9f6f12f2a8dfa8d8b023

Contents?: true

Size: 287 Bytes

Versions: 9

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

module Lite
  module Form

    class Success

      class << self

        def call
          yield
        end

      end

    end

    class Failure

      class << self

        def call
          # Do nothing
        end

      end

    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lite-form-1.1.2 lib/lite/form/states.rb
lite-form-1.1.1 lib/lite/form/states.rb
lite-form-1.1.0 lib/lite/form/states.rb
lite-form-1.0.5 lib/lite/form/states.rb
lite-form-1.0.4 lib/lite/form/states.rb
lite-form-1.0.3 lib/lite/form/states.rb
lite-form-1.0.2 lib/lite/form/states.rb
lite-form-1.0.1 lib/lite/form/states.rb
lite-form-1.0.0 lib/lite/form/states.rb