Module: Savage::Utils

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

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