Sha256: bce0cbac052c6b46265c357c98c7aeb158c868247ae6d3cc0729e9c0e386eeda
Contents?: true
Size: 480 Bytes
Versions: 2
Compression:
Stored size: 480 Bytes
Contents
# frozen_string_literal: true # @api public # @since 0.1.0 class SmartCore::Operation::Result::Error::Code # @return [NilClass] # # @api private # @since 0.1.0 EMPTY_CODE = nil # @return [String, Symbol, NilClass, Any] # # @api public # @since 0.1.0 attr_reader :code alias_method :identifier, :code # @param code [String, Symbol, NilClass, Any] # @return [void] # # @api private # @since 0.1.0 def initialize(code) @code = code end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
smart_operation-0.2.0 | lib/smart_core/operation/result/error/code.rb |
smart_operation-0.1.0 | lib/smart_core/operation/result/error/code.rb |