Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/aliyun/oss/util.rb
Overview
Monkey patch to support #to_bool
Instance Method Summary collapse
Instance Method Details
#to_bool ⇒ Object
69 70 71 72 |
# File 'lib/aliyun/oss/util.rb', line 69 def to_bool return true if self =~ /^true$/i false end |