Sha256: fc586a344856e7bf6b70c569af363aaeeb29ced7fa949ba7be818539f7a17f4e
Contents?: true
Size: 541 Bytes
Versions: 2
Compression:
Stored size: 541 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Commands class IsService < Support::Command ## # @!attribute [r] service # @return [Object] Can be any type. # attr_reader :service ## # @param service [Object] Can be any type. # @return [void] # def initialize(service:) @service = service end ## # @return [Boolean] # def call Commands::IsServiceClass[service_class: service.class] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
convenient_service-0.19.1 | lib/convenient_service/commands/is_service.rb |
convenient_service-0.19.0 | lib/convenient_service/commands/is_service.rb |