lib/cyberarm_engine/window.rb in cyberarm_engine-0.21.0 vs lib/cyberarm_engine/window.rb in cyberarm_engine-0.22.0
- old
+ new
@@ -137,15 +137,9 @@
def current_state
@states.last
end
- def previous_state
- if @states.size > 1 && (state = @states[@states.size - 2])
- state
- end
- end
-
def pop_state
@states.pop
end
def shift_state