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