loader: use `has_suffix` instead of file_extension
authorJean Privat <jean@pryen.org>
Thu, 24 Sep 2015 15:03:11 +0000 (11:03 -0400)
committerJean Privat <jean@pryen.org>
Thu, 24 Sep 2015 15:03:11 +0000 (11:03 -0400)
commit51fe409a16c340d90795393525e8d1c927622f78
treea4e79034c18c360cfc5c6b8625381ef41b1d929b
parent5e1eef832f39e4477b79c62552f462ce41b36382
loader: use `has_suffix` instead of file_extension

Signed-off-by: Jean Privat <jean@pryen.org>
src/loader.nit