module Savage::Utils
Public Instance Methods
bool_to_int(value)
click to toggle source
# File lib/savage/utils.rb, line 3 def bool_to_int(value) (value) ? 1 : 0 end
# File lib/savage/utils.rb, line 3 def bool_to_int(value) (value) ? 1 : 0 end