I would recommend AGAINST feeding it in its enclosure.
My son's '05 King Snake was squirrely about eating. At first I hand-fed her by teasing, and it worked until she started biting me instead of the (F/T) mouse. And in a separate container, all she wanted to do was get out, ignoring the mouse. So I started feeding in her enclosure and it worked great. She struck right at it and dragged it in a hide or behind some rocks and ate it. Except for the other day...
I go to feed her and start teasing her and she didn't eat. Later on I go to reach in and she starts striking at me! She'd never done that before. I was able to use a thin stick like a hook and lift her up. Once I got her out, she was tame in my hand. Later, she repeated the striking in her enclosure. From now on, she's getting fed outside her enclosure or she doesn't eat. I'm already having a hard time getting her on Fuzzies. I accidentally fed her a hopper and she ate it, but since then won't eat a Fuzzy! Figure that out. She's due to shed soon, so I'll wait and try again after.
Good luck,
Walt