Sha256: 69382379f5830e511faf3a41b978fe1948056a4ac4b0d8c6cecc47d71e2baa7e
Contents?: true
Size: 694 Bytes
Versions: 8
Compression:
Stored size: 694 Bytes
Contents
# frozen_string_literal: true ## # # module ConvenientService module Examples module Standard module RequestParams module Utils module Object ## # TODO: Specs. # class Blank < Support::Command attr_reader :object def initialize(object) @object = object end ## # https://api.rubyonrails.org/classes/Object.html#method-i-blank-3F # def call object.respond_to?(:empty?) ? !!object.empty? : !object end end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems