Module: Savage::Utils
Instance Method Summary collapse
Instance Method Details
#bool_to_int(value) ⇒ Object
3 4 5 |
# File 'lib/savage/utils.rb', line 3 def bool_to_int(value) (value) ? 1 : 0 end |
3 4 5 |
# File 'lib/savage/utils.rb', line 3 def bool_to_int(value) (value) ? 1 : 0 end |