def replace(old_class, new_class)
      @stack.map! { |klass, options| [old_class == klass ? new_class : klass, options] }
    end
def replace(old_class, new_class)
      @stack.map! { |klass, options| [old_class == klass ? new_class : klass, options] }
    end
Public: ...