Sha256: 77d80b3f9ad82c840f380a1ca8642e46b7f7abdcf4ba592e33a2d67616631a27
Contents?: true
Size: 508 Bytes
Versions: 2
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true module RaaP module Result module CalledStr def called_str "#{method_value.call_str} -> #{return_value.inspect}[#{return_value.class}]" end end Success = Data.define(:method_value, :return_value) Success.include CalledStr Failure = Data.define(:method_value, :return_value, :symbolic_call) Failure.include CalledStr Skip = Data.define(:method_value, :exception) Exception = Data.define(:method_value, :exception) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
raap-0.2.0 | lib/raap/result.rb |
raap-0.1.0 | lib/raap/result.rb |