Sha256: 2897a5a54f5fc7efd8898111f42ae38c17a990b671a77bd1721a54b2b85d0d40

Contents?: true

Size: 182 Bytes

Versions: 1

Compression:

Stored size: 182 Bytes

Contents

class SafeOperation
  class Success
    def initialize(success)
      @success = success
    end

    def value
      @success
    end

    def success?
      true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
safe_operation-2.0.0 lib/safe_operation/success.rb