abstract struct Struct
Overview
Defines class method delegation.
struct A
def self.method1
end
end
struct B
singleton_delegate :method1, to: A
end
Direct Known Subclasses
Defined in:
ifrit/core.crInstance Method Summary
-
#blank?
Returns if object is blank one - empty (or whitespaced) string, empty array, empty hash,
nil
orfalse
. -
#present?
Returns if object is not blank one - empty (or whitespaced) string, empty array, empty hash,
nil
orfalse
.
Macro Summary
Instance Method Detail
def blank?
#
Returns if object is blank one - empty (or whitespaced) string, empty array, empty hash, nil
or false
.
def present?
#
Returns if object is not blank one - empty (or whitespaced) string, empty array, empty hash, nil
or false
.