Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/opswalrus/patches.rb
Instance Method Summary collapse
Instance Method Details
#boolean!(default: false) ⇒ Object
128 129 130 |
# File 'lib/opswalrus/patches.rb', line 128 def boolean!(default: false) true end |
#integer!(default: 0) ⇒ Object
136 137 138 |
# File 'lib/opswalrus/patches.rb', line 136 def integer!(default: 0) to_i end |
#string!(default: "") ⇒ Object
132 133 134 |
# File 'lib/opswalrus/patches.rb', line 132 def string!(default: "") to_s end |