Class: Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/opswalrus/patches.rb

Instance Method Summary collapse

Instance Method Details

#boolean!(default: false) ⇒ Object



114
115
116
# File 'lib/opswalrus/patches.rb', line 114

def boolean!(default: false)
  true
end

#integer!(default: 0) ⇒ Object



122
123
124
# File 'lib/opswalrus/patches.rb', line 122

def integer!(default: 0)
  self
end

#string!(default: "") ⇒ Object



118
119
120
# File 'lib/opswalrus/patches.rb', line 118

def string!(default: "")
  to_s
end