class Rounders::Util
Public Class Methods
blank?(obj)
click to toggle source
# File lib/rounders/util.rb, line 11 def blank?(obj) Hanami::Utils::Blank.blank?(obj) end
infrect(str)
click to toggle source
# File lib/rounders/util.rb, line 7 def infrect(str) Hanami::Utils::String.new(str) end
present?(obj)
click to toggle source
# File lib/rounders/util.rb, line 15 def present?(obj) !blank?(obj) end