Module: Savage::Utils

Included in:
Direction, Path, SubPath
Defined in:
lib/ext/savage/lib/savage/utils.rb

Instance Method Summary collapse

Instance Method Details

#bool_to_int(value) ⇒ Object



3
4
5
# File 'lib/ext/savage/lib/savage/utils.rb', line 3

def bool_to_int(value)
  (value) ? 1 : 0
end