ERB Comparison signs ( less than, less than equal to, etc) : I'm wondering how to test if a variable is between two values such as 1 and 10. For example I have the following:

    <% bullet_hit = rand(1..10) %>
	<% if 1 < bullet_hit < 10 %>
		<%= bullet_hit %>
	<% end %>

It seems pretty straight, but I think I have the wrong syntax. Any help would be appreciated. Thank you.