Actually if you think about it oil/gas is mostly not sanctioned. So their main exports are not much affected. However, it is a bitch trying to import anything into Russia. That's a combination that favors any currency. Then there is the possibility that it is more difficult for oligarchs to conduct business as usual (which for them consists of moving part of their wealth to safe havens outside the country). So less capital flight. Also favorable for the ruble.
I would look at the stock price of certain companies (such as Aeroflot) as a better indicator of what Putin's war and subsequent sanctions mean for the Russian economy.
https://www.google.com/finance/quote/AFLT:MCX?window=1Y
Russia is a poor backwards place. And it is going to become a poorer more backwards place.
If the war and sanctions drag on for years, they could end up becoming a very large version of North Korea. They have oil and gas which will prevent them from going fully in that direction. But they will end up as a vassal and appendage of China. Vlad the Dim's lack of geopolitical acuity is sending them down that cul de sac. It will be left to some future leader to find a way out.