Class: Rounders::Util
- Inherits:
-
Object
- Object
- Rounders::Util
- Defined in:
- lib/rounders/util.rb
Class Method Summary collapse
Class Method Details
.blank?(obj) ⇒ Boolean
11 12 13 |
# File 'lib/rounders/util.rb', line 11 def blank?(obj) Hanami::Utils::Blank.blank?(obj) end |
.infrect(str) ⇒ Object
7 8 9 |
# File 'lib/rounders/util.rb', line 7 def infrect(str) Hanami::Utils::String.new(str) end |
.present?(obj) ⇒ Boolean
15 16 17 |
# File 'lib/rounders/util.rb', line 15 def present?(obj) !blank?(obj) end |