Sha256: aee1c865ee5729becb511b26420eaab85ed22d8204f395eba2d32041f9c6ec09
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
# frozen_string_literal: true module Muina class Result class Success < self def initialize(value) # rubocop:disable Lint/MissingSuper @value = value freeze end def value! @value end def error! raise end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
muina-0.7.0 | lib/muina/result/success.rb |
muina-0.6.0 | lib/muina/result/success.rb |