Libraries
»
mug
(0.2.4)
»
Index (S)
»
String
Class: String
Inherits:
Object
Object
String
show all
Defined in:
lib/mug/bool.rb
Instance Method Summary
collapse
#
to_b
⇒ Object
Returns true if not empty.
Instance Method Details
#
to_b
⇒
Object
Returns true if not empty.
56 57 58
# File 'lib/mug/bool.rb', line 56
def
to_b
!
empty?
end